set new limits to prepare for the storm
This commit is contained in:
parent
031d450a7c
commit
a959a7c06c
|
@ -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)
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue