-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
None
The wait_for_read function makes a blocking sync call to socket_checker.select in the async code path:
https://github.com/mongodb/mongo-python-driver/blob/ffa65554852e84a5b92858f85d1d1784525edb72/pymongo/asynchronous/network.py#L378
We should avoid these calls since they block the loop.
- is depended on by
-
PYTHON-4784 Add tests to confirm async parallelism
- Closed
- is related to
-
PYTHON-4782 AsyncMongoClient deadlock on maxConnecting condition variable
- Closed