From 48412c6d664320269c4ca53ac2493c05a130e8eb Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Wed, 12 Feb 2025 15:08:34 -0500 Subject: [PATCH] Revert "fix(connection): unref the "_waitForConnect"" --- lib/connection.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/connection.js b/lib/connection.js index f38647d855a..b0ceb77029b 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -842,11 +842,6 @@ Connection.prototype._waitForConnect = async function _waitForConnect() { }, bufferTimeoutMS ); - - // dont cause this timeout to keep the js process alive - if ('unref' in timeout) { - timeout.unref(); - } }) ]);