From a959a7c06c2713b2a61ce9f2933a7c2304c1f08b Mon Sep 17 00:00:00 2001 From: Maximilian Schneider Date: Wed, 11 Aug 2021 21:07:57 +0200 Subject: [PATCH] set new limits to prepare for the storm --- utils/send.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/send.tsx b/utils/send.tsx index f049054..a23c993 100644 --- a/utils/send.tsx +++ b/utils/send.tsx @@ -26,7 +26,7 @@ export function getUnixTs() { return new Date().getTime() / 1000 } -const DEFAULT_TIMEOUT = 30000 +const DEFAULT_TIMEOUT = 31000 export async function sendTransaction({ transaction, @@ -137,7 +137,7 @@ export async function sendSignedTransaction({ connection.sendRawTransaction(rawTransaction, { skipPreflight: true, }) - await sleep(300) + await sleep(3000) } })() try { @@ -251,7 +251,7 @@ async function awaitTransactionSignatureConfirmation( } } })() - await sleep(300) + await sleep(3000) } })() })