|
@@ -1,5 +1,4 @@
|
|
|
import { DBClient } from '../singletons'
|
|
|
-import { Status } from '../models/Status'
|
|
|
import { forEachAsync } from '../utils'
|
|
|
import { InitiaClient } from '../InitiaClient'
|
|
|
|
|
@@ -8,7 +7,7 @@ async function startCheck(concurrency) {
|
|
|
where: {
|
|
|
finish: 1,
|
|
|
},
|
|
|
- take: 1000,
|
|
|
+ take: 10000,
|
|
|
})
|
|
|
await forEachAsync(accountsRaw, concurrency, async (account, index) => {
|
|
|
console.log(`${index}/${accountsRaw.length}: processing ${account.address}`)
|
|
@@ -40,4 +39,4 @@ async function startCheck(concurrency) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-startCheck(20)
|
|
|
+startCheck(120)
|