Unref bootstrap session timeout timer
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
db8a36fc74
commit
2bd2fe2869
1 file changed
+1
@@ -104,6 +104,7 @@ function raceWithTimeout<T>(
|
||||
const timeout = setTimeout(() => {
|
||||
reject(new Error(timeoutMessage));
|
||||
}, timeoutMs);
|
||||
timeout.unref();
|
||||
|
||||
promise.then(
|
||||
(value) => {
|
||||
|
||||
Reference in new issue
Block a user