Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13592

Connection string page has incorrect description for the default connectTimeoutMS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: drivers, manual
    • Labels:
      None

      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.)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey Shane Harvey
            Participants:
            Last commenter:
            Christopher Cho Christopher Cho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              1 year, 15 weeks ago