For CSOT, add pymongo.timeout() context manager API:
import pymongo # All blocking pymongo operations in this context combined # must complete within 100ms or raise a timeout exception. with pymongo.timeout(0.1): d1 = client1.db1.c1.find_one() d2 = client2.db2.c2.find_one()
- causes
-
PYTHON-3337 Test Failure - mmapv1 TestUnifiedTestFormatValidPassCollectionDataCreateOptions
- Closed
- is depended on by
-
PYTHON-3290 [csot] Define behavior of nesting pymongo.timeout
- Closed
-
PYTHON-3295 [csot] Add documentation example page
- Closed