From da13dc2ad0228050493f3a2d6391a2d5ed7e8cc2 Mon Sep 17 00:00:00 2001 From: binaryYuki <60097976+binaryYuki@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:35:47 +0100 Subject: [PATCH] feat: prevent service cool startup Signed-off-by: binaryYuki <60097976+binaryYuki@users.noreply.github.com> --- _cronjobs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_cronjobs.py b/_cronjobs.py index af9f4b5..35c71dd 100644 --- a/_cronjobs.py +++ b/_cronjobs.py @@ -118,7 +118,7 @@ async def keerRedisAlive(): Keep Redis alive avoid server from cool startup """ await redis_set_key("alive", "yes", ex=60 * 60 * 24) - print("Redis is alive") + # print("Redis is alive") await redis_client.delete("alive") return True @@ -129,5 +129,5 @@ async def keepMySQLAlive(): Keep MySQL alive avoid server from cool startup """ await test_db_connection() - print("MySQL is alive") + # print("MySQL is alive") return True