Skip to content

Commit b6d553a

Browse files
committed
fix(#3975): do not unref timeout
1 parent ad7ac02 commit b6d553a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handler/retry-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class RetryHandler {
133133
? Math.min(retryAfterHeader, maxTimeout)
134134
: Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout)
135135

136-
setTimeout(() => cb(null), retryTimeout).unref()
136+
setTimeout(() => cb(null), retryTimeout)
137137
}
138138

139139
onResponseStart (controller, statusCode, headers, statusMessage) {

0 commit comments

Comments
 (0)