Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3289

[csot] Automatically apply timeoutMS URI option to every operation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 4.2
    • None
    • None

    Description

      The CSOT spec introduces the timeoutMS URI and keyword arg MongoClient option:

      >>> client = MongoClient('mongodb://localhost/?timeoutMS=5500')
      >>> client.options.timeout
      5.5
      

      We need to automatically apply this timeout to every operation by default. Note this option overrides serverSelectionTimeoutMS, connectTimeoutMS, socketTimeoutMS, and waitQueueTimeoutMS.

      Attachments

        Activity

          People

            shane.harvey@mongodb.com Shane Harvey
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: