We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f19c32d commit 3b11facCopy full SHA for 3b11fac
src/cmap/connect.ts
@@ -411,6 +411,7 @@ export async function makeSocket(options: MakeConnectionOptions): Promise<Stream
411
// Explicit setKeepAlive/setNoDelay are required because tls.connect() silently
412
// ignores these constructor options due to a Node.js bug.
413
// See: https://github.com/nodejs/node/issues/62003
414
+ // TODO(NODE-7474): remove this fix once the underlying Node.js issue is resolved.
415
socket.setKeepAlive(true, keepAliveInitialDelay);
416
socket.setNoDelay(noDelay);
417
socket.setTimeout(connectTimeoutMS);
0 commit comments