Rework the time cache.
This commit is contained in:
1 parent
a972d49e88
commit
22b0c0f1fe
4 files changed
+27
-6
No files matched your search
@@ -170,7 +170,7 @@ def get_default_environment():
|
||||
return SameEnvironment()
|
||||
|
||||
|
||||
@time_cache("_default_environment_validity")
|
||||
@time_cache(seconds=10 * 60) # 10 Minutes
|
||||
def get_cached_default_environment():
|
||||
return get_default_environment()
|
||||
|
||||
|
||||
Reference in new issue
Block a user