Skip to content

Commit 64fde98

Browse files
Update index.ts
1 parent 71bc65c commit 64fde98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const setupAxiosRetry = () => {
4545
config._retryCount!++;
4646
const baseDelay = initialRetryDelay * Math.pow(backoffFactor, config._retryCount! - 1);
4747
const jitter = baseDelay * 0.2; // 20% +/- jitter
48-
const exponentialDelay = Math.min(baseDelay + (Math.random() * 2 - 1) * jitter);
48+
const exponentialDelay = baseDelay + (Math.random() * 2 - 1) * jitter;
4949

5050
return new Promise(resolve => {
5151
setTimeout(() => {

0 commit comments

Comments
 (0)