Skip to content

Commit

Permalink
Revert "fix(connection): unref the "_waitForConnect""
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 authored Feb 12, 2025
1 parent 7af733a commit 48412c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
})
]);

Expand Down

0 comments on commit 48412c6

Please sign in to comment.