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

[csot] Automatically apply timeoutMS URI option to every operation

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: