1
0
forked from VimPlug/jedi

Rework the time cache.

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

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()