Skip to content

Commit 48412c6

Browse files
authored
Revert "fix(connection): unref the "_waitForConnect""
1 parent 7af733a commit 48412c6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/connection.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -842,11 +842,6 @@ Connection.prototype._waitForConnect = async function _waitForConnect() {
842842
},
843843
bufferTimeoutMS
844844
);
845-
846-
// dont cause this timeout to keep the js process alive
847-
if ('unref' in timeout) {
848-
timeout.unref();
849-
}
850845
})
851846
]);
852847

0 commit comments

Comments
 (0)