Commit ccb0eaee authored by Stéphane Angel's avatar Stéphane Angel

Add todo and alert on potential data loss in clear method

parent eb2d1d30
......@@ -119,6 +119,7 @@ class CacheClass(BaseCache):
"""
Flush all cache keys.
"""
# TODO : potential data loss here, should we only delete keys based on the correct version ?
self._cache.flushdb()
def get_many(self, keys, version=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment