set new limits to prepare for the storm

This commit is contained in:
Maximilian Schneider 2021-08-11 21:07:57 +02:00
parent 031d450a7c
commit a959a7c06c
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ export function getUnixTs() {
return new Date().getTime() / 1000 return new Date().getTime() / 1000
} }
const DEFAULT_TIMEOUT = 30000 const DEFAULT_TIMEOUT = 31000
export async function sendTransaction({ export async function sendTransaction({
transaction, transaction,
@ -137,7 +137,7 @@ export async function sendSignedTransaction({
connection.sendRawTransaction(rawTransaction, { connection.sendRawTransaction(rawTransaction, {
skipPreflight: true, skipPreflight: true,
}) })
await sleep(300) await sleep(3000)
} }
})() })()
try { try {
@ -251,7 +251,7 @@ async function awaitTransactionSignatureConfirmation(
} }
} }
})() })()
await sleep(300) await sleep(3000)
} }
})() })()
}) })