Skip to content

Commit 30c0a5e

Browse files
author
A. Jesse Jiryu Davis
committed
Bump MongoReplicaSetClient's default max_pool_size from 10 to 100. PYTHON-436
1 parent 77e769d commit 30c0a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/mongo_replica_set_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ class MongoReplicaSetClient(common.BaseObject):
487487
"""Connection to a MongoDB replica set.
488488
"""
489489

490-
def __init__(self, hosts_or_uri=None, max_pool_size=10,
490+
def __init__(self, hosts_or_uri=None, max_pool_size=100,
491491
document_class=dict, tz_aware=False, _connect=True, **kwargs):
492492
"""Create a new connection to a MongoDB replica set.
493493

0 commit comments

Comments
 (0)