Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions kw/cache/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ def reload(self):
if self.max_attempts < 0 and not successful_reload:
self._prolong_data_expiration()
self._log_error("kiwicache.reload_failed")

# Fallback to source if redis doesn't work
self._data = self.load_from_source()

break

def reload_from_cache(self):
Expand Down