-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
The connection string pageĀ (https://docs.mongodb.com/manual/reference/connection-string/#urioption.connectTimeoutMS) has this description for connectTimeoutMS:
The time in milliseconds to attempt a connection before timing out. The default is never to timeout, though different drivers might vary. See the driver documentation.
This is incorrect as the driver default is "10000 milliseconds (unless a driver already has a different default)". For example, pymongo's default is 20000:
https://github.com/mongodb/specifications/blob/e56f5ec/source/uri-options/uri-options.rst#list-of-specified-options
I suggest we update this page to say something like:
The time in milliseconds to attempt a connection before timing out. The default is 10000 milliseconds, though different drivers might vary. See the driver documentation.