Skip to content

Commit

Permalink
fix: conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Mar 19, 2024
1 parent 2ceb341 commit f655ffe
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 f655ffe

Please sign in to comment.