pointimporthelper

This commit is contained in:
Laura Klünder 2024-12-28 15:35:15 +01:00
parent cfed6d9ed7
commit 6d78a0c491
3 changed files with 82 additions and 62 deletions

View file

@ -51,5 +51,6 @@ def process_map_updates(self):
@app.task(bind=True, max_retries=10)
def delete_map_cache_key(self, cache_key):
for key in cache.keys(f'*{cache_key}*'):
cache.delete(key)
if hasattr(cache, 'keys'):
for key in cache.keys(f'*{cache_key}*'):
cache.delete(key)