-
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! |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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