Procházet zdrojové kódy

fix: increase max retries amount

Filip Dunder před 1 rokem
rodič
revize
d5384e81d9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      buy.ts

+ 1 - 1
buy.ts

@@ -307,7 +307,7 @@ async function buy(
   const signature = await solanaConnection.sendRawTransaction(
     transaction.serialize(),
     {
-      maxRetries: 5,
+      maxRetries: 20,
       preflightCommitment: commitment,
     },
   );