Skip to content

Commit 0809fe7

Browse files
committed
slowdown justswap
1 parent 802edca commit 0809fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/justSwap/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async function tvl(api) {
3535
}
3636

3737
const multicallContract = 'TEazPvZwDjDtFeJupyo7QunvnrnUjPH8ED'
38-
const chunks = sliceIntoChunks(allPairs, 200)
38+
const chunks = sliceIntoChunks(allPairs, 100)
3939

4040
const chunkCount = chunks.length
4141
console.log(`Processing ${chunkCount} chunks of calls to get TRX balance`)
@@ -45,6 +45,6 @@ async function tvl(api) {
4545
api.addGasToken(trxBalance)
4646
api.addGasToken(trxBalance) // adding twice to add token balance on the LP
4747
console.log(`Processed chunk ${chunks.indexOf(calls) + 1} of ${chunkCount}`)
48-
await sleep(1500)
48+
await sleep(4500)
4949
}
5050
}

0 commit comments

Comments
 (0)