We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71bc65c commit 64fde98Copy full SHA for 64fde98
src/index.ts
@@ -45,7 +45,7 @@ const setupAxiosRetry = () => {
45
config._retryCount!++;
46
const baseDelay = initialRetryDelay * Math.pow(backoffFactor, config._retryCount! - 1);
47
const jitter = baseDelay * 0.2; // 20% +/- jitter
48
- const exponentialDelay = Math.min(baseDelay + (Math.random() * 2 - 1) * jitter);
+ const exponentialDelay = baseDelay + (Math.random() * 2 - 1) * jitter;
49
50
return new Promise(resolve => {
51
setTimeout(() => {
0 commit comments