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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • 2.6.2
    • 2.7
    • None
    • None
    • docs

    Description

      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!

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: