Shawn Lu 1 tahun lalu
induk
melakukan
839b721684
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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
       if (!account.duid) account.duid = uuidv4().toUpperCase()
       await polly()
-        .waitAndRetry(2)
+        .waitAndRetry([10000, 20000])
         .executeForPromise(async () => {
           const key = new MnemonicKey({ mnemonic: account.mnemonic })
           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)