mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-05-09 05:04:55 +00:00
Removes a cache.clear() accidentally introduced.
This commit is contained in:
parent
cc6e836b13
commit
a358fc18a9
1 changed files with 0 additions and 1 deletions
|
|
@ -56,7 +56,6 @@ def _get_result_or_execute_query(execute_query_func, cache_key,
|
|||
new_table_cache_keys = frozenset(table_cache_keys) - frozenset(data)
|
||||
|
||||
if new_table_cache_keys:
|
||||
cache.clear()
|
||||
for table_cache_key in new_table_cache_keys:
|
||||
cache.add(table_cache_key, time(), None)
|
||||
elif cache_key in data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue