Skip to content

Commit b80a8d9

Browse files
authored
Merge pull request Automattic#15254 from Automattic/revert-15245-unrefConnectionTimeout
Revert "fix(connection): unref the "_waitForConnect""
2 parents 7af733a + 48412c6 commit b80a8d9

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)