You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We make an implicit assumption with our default socket timeout that
most operations will complete within the current default of 5min. This is
not the case for services like Atlas Data Lake, which may regularly take
far longer to complete operations. In general we can't make any
assumptions about how long an operation will take to complete, and so
the default socket timeout is now 0 (infinity) unless otherwise indicated.
NODE-2835
* @param {boolean} [options.ssl=false] Use SSL for connection
69
69
* @param {boolean|function} [options.checkServerIdentity=true] Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function.
70
70
* @param {Buffer} [options.ca] SSL Certificate store binary buffer
@@ -111,7 +111,7 @@ var Pool = function(topology, options) {
* @param {boolean} [options.ssl=false] Use SSL for connection
80
80
* @param {boolean|function} [options.checkServerIdentity=true] Ensure we check server identify during SSL, set to false to disable checking. Only works for Node 0.12.x or higher. You can pass in a boolean or your own checkServerIdentity override function.
81
81
* @param {Buffer} [options.ca] SSL Certificate store binary buffer
* @param {number} [options.socketOptions.keepAliveInitialDelay=120000] The number of milliseconds to wait before initiating keepAlive on the TCP socket
86
86
* @param {number} [options.socketOptions.connectTimeoutMS=10000] How long to wait for a connection to be established before timing out
87
-
* @param {number} [options.socketOptions.socketTimeoutMS=360000] How long a send or receive on a socket can take before timing out
87
+
* @param {number} [options.socketOptions.socketTimeoutMS=0] How long a send or receive on a socket can take before timing out
88
88
* @param {boolean} [options.domainsEnabled=false] Enable the wrapping of the callback in the current domain, disabled by default to avoid perf hit.
89
89
* @param {boolean} [options.monitorCommands=false] Enable command monitoring for this topology
* @param {number} [options.socketOptions.keepAliveInitialDelay=120000] The number of milliseconds to wait before initiating keepAlive on the TCP socket
88
88
* @param {number} [options.socketOptions.connectTimeoutMS=10000] How long to wait for a connection to be established before timing out
89
-
* @param {number} [options.socketOptions.socketTimeoutMS=360000] How long a send or receive on a socket can take before timing out
89
+
* @param {number} [options.socketOptions.socketTimeoutMS=0] How long a send or receive on a socket can take before timing out
90
90
* @param {number} [options.reconnectTries=30] Server attempt to reconnect #times
91
91
* @param {number} [options.reconnectInterval=1000] Server will wait # milliseconds between retries
92
92
* @param {boolean} [options.monitoring=true] Triggers the server instance to call ismaster
0 commit comments