anable LocalCacheProxy correctly
This commit is contained in:
parent
a543380fd3
commit
80cf20d8f2
1 changed files with 1 additions and 1 deletions
2
src/c3nav/mapdata/utils/cache/local.py
vendored
2
src/c3nav/mapdata/utils/cache/local.py
vendored
|
@ -55,7 +55,7 @@ class LocalCacheProxy:
|
|||
This gets called when the per request cache middleware is loaded.
|
||||
We don't want local cache proxies to work outside of requests.
|
||||
"""
|
||||
LocalCacheProxy.enabled = False
|
||||
LocalCacheProxy.enabled = True
|
||||
|
||||
def set(self, key, value, expire):
|
||||
self._check_mapupdate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue