Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#3975): do not unref timeout
Browse files Browse the repository at this point in the history
metcoder95 committed Dec 31, 2024

Verified

This commit was signed with the committer’s verified signature.
ronnnnn Seiya Kokushi
1 parent ad7ac02 commit b6d553a
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
@@ -133,7 +133,7 @@ class RetryHandler {
? Math.min(retryAfterHeader, maxTimeout)
: Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout)

setTimeout(() => cb(null), retryTimeout).unref()
setTimeout(() => cb(null), retryTimeout)
}

onResponseStart (controller, statusCode, headers, statusMessage) {

0 comments on commit b6d553a

Please sign in to comment.