|
As in the title. I'm talking about this functionality https://python-dependency-injector.ets-labs.org/providers/singleton.html#using-singleton-with-multiple-threads. This saved our application. Maybe your implementation of Singleton is already thread safe. I'd be glad to learn more on those topics from you! |
Answered by
lesnik512
Nov 20, 2024
Replies: 2 comments 3 replies
|
@macieyng Hi and thank you for sharing this! Our Singleton is not thread safe yet, but we'll look into this |
3 replies
|
Here it is. Now singletons and resources are thread-safe in sync resolving: https://github.com/modern-python/that-depends/releases/tag/1.25.0 |
0 replies
Answer selected by
lesnik512
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here it is. Now singletons and resources are thread-safe in sync resolving:
https://github.com/modern-python/that-depends/releases/tag/1.25.0