Updated on 2026-08-14

This commit is contained in:
Tangem 2025-06-26 18:11:51 +04:00
parent 2bbded1c29
commit e2a6af1ccb
2 changed files with 10 additions and 1 deletions

View file

@ -165,7 +165,7 @@ internal class DefaultMultiYieldBalanceFetcher @Inject constructor(
val yieldBalances = coroutineScope {
requests
// TODO: in the future, consider optimizing this part
.chunked(size = 16) // StakeKitApi limitation: no more than 16 requests at the same time
.chunked(size = 15) // StakeKitApi limitation: no more than 15 requests at the same time
.map {
async(dispatchers.io) { stakeKitApi.getMultipleYieldBalances(it).bind() }
}