Skip to content

Commit 4cff72b

Browse files
authored
DOCSP-27863: correct default of connectTimeoutMS (#518)
1 parent 9086828 commit 4cff72b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/faq.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ What Is the Difference Between "connectTimeoutMS", "socketTimeoutMS" and "maxTim
6363
To modify the allowed time for `MongoClient.connect <{+api+}/classes/MongoClient.html#connect>`__ to establish a
6464
connection to a MongoDB server, use the ``serverSelectionTimeoutMS`` option instead.
6565

66-
**Default:** 10000
66+
**Default:** 30000
6767
* - **socketTimeoutMS**
6868
- ``socketTimeoutMS`` specifies the amount of time the driver waits
6969
for an inactive socket before closing it. The default value is to

source/fundamentals/connection/connection-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ parameters of the connection URI to specify the behavior of the client.
5454

5555
* - **connectTimeoutMS**
5656
- non-negative integer
57-
- ``10000``
57+
- ``30000``
5858
- Specifies the amount of time, in milliseconds, to wait to establish a single TCP
5959
socket connection to the server before raising an error. Specifying
6060
``0`` disables the connection timeout.

0 commit comments

Comments
 (0)