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

max_pool_size -> maxPoolSize

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None
    • Minor Change

    Description

      PyMongo doesn't currently support the maxPoolSize URI option. Instead it provides a max_pool_size named parameter for MongoClient. This causes a few problems:

      • The MongoDB URI isn't fully portable between PyMongo and other drivers.
      • max_pool_size is treated as a PyMongo specific option

      For PyMongo 3.0, the max_pool_size named parameter will be removed. Support for the maxPoolSize URI option will be added. maxPoolSize can be passed in a MongoDB URI, or as a keyword argument for MongoClient (similar to other URI options supported through **kwargs).

      Attachments

        Issue Links

          Activity

            People

              bernie@mongodb.com Bernie Hackett
              bernie@mongodb.com Bernie Hackett
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: