Shawn Lu hai 1 ano
pai
achega
839b721684
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/faucet/faucet.ts

+ 2 - 2
src/faucet/faucet.ts

@@ -82,7 +82,7 @@ async function faucetLunch(concurrency: number = 8) {
         account.xrpPrivateKey = xrpl.Wallet.generate().seed
         account.xrpPrivateKey = xrpl.Wallet.generate().seed
       if (!account.duid) account.duid = uuidv4().toUpperCase()
       if (!account.duid) account.duid = uuidv4().toUpperCase()
       await polly()
       await polly()
-        .waitAndRetry(2)
+        .waitAndRetry([10000, 20000])
         .executeForPromise(async () => {
         .executeForPromise(async () => {
           const key = new MnemonicKey({ mnemonic: account.mnemonic })
           const key = new MnemonicKey({ mnemonic: account.mnemonic })
           const evmWallet = new ethers.Wallet(key.privateKey.toString('hex'))
           const evmWallet = new ethers.Wallet(key.privateKey.toString('hex'))
@@ -159,4 +159,4 @@ async function faucetLunch(concurrency: number = 8) {
   })
   })
 }
 }
 
 
-await faucetLunch(50)
+await faucetLunch(25)