helium3@sina.com před 8 měsíci
rodič
revize
e988e64d9e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/runnnnn.ts

+ 1 - 1
src/runnnnn.ts

@@ -6,7 +6,7 @@ async function main() {
   const needRaw = await DBClient.instance.randomTask2.findMany({
   const needRaw = await DBClient.instance.randomTask2.findMany({
     where: {},
     where: {},
   })
   })
-  await forEachAsync(needRaw, 50, async account => {
+  await forEachAsync(needRaw, 1, async account => {
     console.log(account.address)
     console.log(account.address)
     const client = new InitiaClient(account.mnemonic, true)
     const client = new InitiaClient(account.mnemonic, true)
     const res = await client.freezeDogs()
     const res = await client.freezeDogs()