-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Context
The async API does not support forking, but does not explicitly error when it encounters a fork. This is misleading to users and risks creating deadlocks, as child processes share their parent process's asyncio loop.
Definition of done
A fatal exception should be raised when an AsyncMongoClient detects that it has been forked.
Pitfalls
N/A
- duplicates
-
PYTHON-4724 Document the behavior of using an async client across multiple event loops
-
- Closed
-