Closed cecheta closed 1 month ago
Not for this PR - but wonder whether the @functools.cache
would be simpler than the lock
Not for this PR - but wonder whether the
@functools.cache
would be simpler than the lock
From what I quickly saw online, there could be multiple threads trying to create EnvHelpers at the same time during startup unless we use a lock
I don't think that would break the application, but I guess it wouldn't be a true singleton
Purpose
Does this introduce a breaking change?