Skip to content

Commit

Permalink
changing redis connect failure into a critical
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Aug 12, 2024
1 parent a43774f commit 539ae57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sageworks/utils/sageworks_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, expire=None, prefix="", postfix=""):
self._actual_cache = RedisCache(expire=expire, prefix=prefix, postfix=postfix)
else:
# If Redis isn't available, fall back to an In-Memory Cache
log.important("Redis connect failed, using In-Memory Cache...")
log.critical("Redis connect failed, using In-Memory Cache...")
self._actual_cache = Cache(expire=expire, prefix=prefix, postfix=postfix)

def set(self, key, value):
Expand Down

0 comments on commit 539ae57

Please sign in to comment.