Skip to content

Commit

Permalink
chore: update delay and retryTimes
Browse files Browse the repository at this point in the history
  • Loading branch information
perfogic committed Sep 9, 2024
1 parent 2c98d20 commit b53cea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export const getAddressByEIP191 = async (isSwitchWallet?: boolean) => {
return accounts[0].address;
};

export const retryOrbs = async (fn, retryTimes = 30, delay = 1000) => {
export const retryOrbs = async (fn, retryTimes = 30, delay = 2000) => {
try {
return await fn();
} catch (error) {
Expand Down

0 comments on commit b53cea0

Please sign in to comment.