MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / WaitQueueTimeoutError

Class WaitQueueTimeoutError

pymongo/errors.py:71–81  ·  view source on GitHub ↗

Raised when an operation times out waiting to checkout a connection from the pool. Subclass of :exc:`~pymongo.errors.ConnectionFailure`. .. versionadded:: 4.2

Source from the content-addressed store, hash-verified

69
70
71class WaitQueueTimeoutError(ConnectionFailure):
72 """Raised when an operation times out waiting to checkout a connection from the pool.
73
74 Subclass of :exc:`~pymongo.errors.ConnectionFailure`.
75
76 .. versionadded:: 4.2
77 """
78
79 @property
80 def timeout(self) -> bool:
81 return True
82
83
84class AutoReconnect(ConnectionFailure):

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected