We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 564449c commit 923e496Copy full SHA for 923e496
src/cmap/connect.ts
@@ -307,9 +307,7 @@ function parseConnectOptions(options: ConnectionOptions): SocketConnectOpts {
307
(result as Document)[name] = options[name];
308
}
309
310
- if (result.keepAliveInitialDelay == null) {
311
- result.keepAliveInitialDelay = 120000;
312
- }
+result.keepAliveInitialDelay ??= 120000;
313
result.keepAlive = true;
314
result.noDelay = options.noDelay ?? true;
315
0 commit comments