fix(redis): connect during health checks

This commit is contained in:
2026-05-27 16:50:25 +01:00
parent 0d828315bb
commit ef75f08392
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -491,7 +491,9 @@ class RedisManager:
try:
if not self.client:
raise Exception("No Redis connection")
logger.info("Redis health check has no active client; connecting now")
if not self.connect():
raise Exception("No Redis connection")
# Test connection
self.client.ping()