Skip to content

Commit

Permalink
fix: conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Mar 16, 2024
1 parent f1c335f commit 3a9f173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handler/retry-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class RetryHandler {
const retryTimeout =
retryAfterHeader > 0
? Math.min(retryAfterHeader, maxTimeout)
: Math.min(timeout * timeoutFactor ** counter, maxTimeout)
: Math.min(minTimeout * timeoutFactor ** counter, maxTimeout)

setTimeout(() => cb(null), retryTimeout)
}
Expand Down

0 comments on commit 3a9f173

Please sign in to comment.