Updated on 2026-08-14
This commit is contained in:
parent
2bbded1c29
commit
e2a6af1ccb
2 changed files with 10 additions and 1 deletions
|
|
@ -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() }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue