Skip to content

Commit 65832a7

Browse files
committed
update enum
1 parent eaab484 commit 65832a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pymongo/monitoring.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,9 @@ class ConnectionClosedReason:
934934
POOL_CLOSED = "poolClosed"
935935
"""The pool was closed, making the connection no longer valid."""
936936

937+
POOL_BACKOFF = "poolBackoff"
938+
"""The pool is in backoff mode."""
939+
937940

938941
class ConnectionCheckOutFailedReason:
939942
"""An enum that defines values for `reason` on a

0 commit comments

Comments
 (0)