Rework the time cache.

This commit is contained in:
Dave Halter committed 2018-04-15 15:51:16 +02:00
1 parent a972d49e88
commit 22b0c0f1fe
4 files changed
+27 -6

No files matched your search

+1 -1
View File
@@ -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()