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

What are the defaults for mongo_client's socketTimeoutMS, connectTimeoutMS and waitQueueTimeoutMS?

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.7
    • Affects Version/s: 2.6.2
    • Component/s: None
    • None
    • Environment:
      docs

      The docs for mongo client here don't mention default timeouts:
      http://api.mongodb.org/python/current/api/pymongo/mongo_client.html#pymongo.mongo_client.MongoClient

      Searching through the code, I couldn't quickly figure out what the defaults were, so it would be nice to see them in the docs here. https://github.com/mongodb/mongo-python-driver/blob/88e3121d2896415cdf7bc95da4e2ec7c956fcf4c/pymongo/mongo_client.py#L137-L143

      Thanks!

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            ryanwitt Ryan Witt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: