mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Update packages/safe-chain/src/api/aikido.js
This commit is contained in:
parent
0e6d002b4c
commit
3210b68b43
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ async function retry(func, attempts) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i < attempts - 1) {
|
if (i < attempts - 1) {
|
||||||
// When this is not the last try, back-off expenentially:
|
// When this is not the last try, back-off exponentially:
|
||||||
// 1st attempt - 500ms delay
|
// 1st attempt - 500ms delay
|
||||||
// 2nd attempt - 1000ms delay
|
// 2nd attempt - 1000ms delay
|
||||||
// 3rd attempt - 2000ms delay
|
// 3rd attempt - 2000ms delay
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue