mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix log
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ class RedisHelper(metaclass=SingletonClass):
|
|||||||
)
|
)
|
||||||
# 测试连接,确保Redis可用
|
# 测试连接,确保Redis可用
|
||||||
self.client.ping()
|
self.client.ping()
|
||||||
logger.debug(f"Successfully connected to Redis")
|
logger.info(f"Successfully connected to Redis:{self.redis_url}")
|
||||||
self.set_memory_limit()
|
self.set_memory_limit()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Failed to connect to Redis: {e}")
|
logger.error(f"Failed to connect to Redis: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user