[DOCS-13592] Connection string page has incorrect description for the default connectTimeoutMS Created: 14/Apr/20  Updated: 13/Nov/23  Resolved: 01/Aug/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.2.0, 4.4.0, 5.0.0, 6.0.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Bug Priority: Major - P3
Reporter: Shane Harvey Assignee: Jason Price
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 27 weeks, 2 days ago
Epic Link: DOCSP-1769
Story Points: 2

 Description   

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.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 01/Aug/22 ]

Author:

{'name': 'jason-price-mongodb', 'email': '69260375+jason-price-mongodb@users.noreply.github.com', 'username': 'jason-price-mongodb'}

Message: DOCS-13592-connectTimeoutMS-description (#1537) (#1555)

Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>

Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
Branch: v4.4
https://github.com/10gen/docs-mongodb-internal/commit/305d364427b1a203e23e2781b2d3ca7ff3455350

Generated at Thu Feb 08 08:08:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.