hel 1 سال پیش
والد
کامیت
4230f44980
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      src/onchain/finalTask.ts

+ 2 - 3
src/onchain/finalTask.ts

@@ -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)