mongoengine icon indicating copy to clipboard operation
mongoengine copied to clipboard

[#2685] implement a thread-safe switch db context manager

Open nzjess opened this issue 3 years ago • 2 comments

Proposal to address thread-safe db switching, as per: https://github.com/MongoEngine/mongoengine/issues/2685

Doesn't yet address thread-safe collection switching, but this could probably be considered in a similar way.

nzjess avatar Aug 19 '22 15:08 nzjess

This will need some tests (involving multiple databases and multiple threads)

bagerard avatar Sep 06 '22 20:09 bagerard

Hey folks, Any plans this to be merged and integrated in the framework?

igatanasov avatar Jul 25 '23 06:07 igatanasov