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

Connection string page has incorrect description for the default connectTimeoutMS

    XMLWordPrintableJSON

Details

    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

            jason.price@mongodb.com Jason Price
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 27 weeks, 2 days ago