Skip to content

Commit e07366a

Browse files
committed
PYTHON-2255 Reduce default keepalive time to 120 seconds to align with Azure defaults
1 parent 18de676 commit e07366a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _set_non_inheritable_non_atomic(dummy):
122122
"""Dummy function for platforms that don't provide fcntl."""
123123
pass
124124

125-
_MAX_TCP_KEEPIDLE = 300
125+
_MAX_TCP_KEEPIDLE = 120
126126
_MAX_TCP_KEEPINTVL = 10
127127
_MAX_TCP_KEEPCNT = 9
128128

0 commit comments

Comments
 (0)