Skip to content

Commit d26ea63

Browse files
authored
Merge pull request #3 from floornfts/chrismaddern-patch-1
Speed up backoff
2 parents bdbc103 + aac791f commit d26ea63

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/internal/backoff.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { logDebug } from '../util/logger';
22

3-
export const DEFAULT_BACKOFF_INITIAL_DELAY_MS = 1000;
4-
export const DEFAULT_BACKOFF_MULTIPLIER = 1.5;
5-
export const DEFAULT_BACKOFF_MAX_DELAY_MS = 30 * 1000;
3+
export const DEFAULT_BACKOFF_INITIAL_DELAY_MS = 50;
4+
export const DEFAULT_BACKOFF_MULTIPLIER = 2;
5+
export const DEFAULT_BACKOFF_MAX_DELAY_MS = 5 * 1000;
66
export const DEFAULT_BACKOFF_MAX_ATTEMPTS = 5;
77

88
/**

0 commit comments

Comments
 (0)