From 7653f8b586c59d4db40bcaedd5a37065e2cd7ee5 Mon Sep 17 00:00:00 2001 From: sharath <29162020+tnfssc@users.noreply.github.com> Date: Mon, 30 Jun 2025 17:52:02 +0000 Subject: [PATCH] fix(worker_health): increase timeout duration for health check from 5 to 20 seconds --- backend/worker_health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/worker_health.py b/backend/worker_health.py index 9f8b610f..2d2a6f22 100644 --- a/backend/worker_health.py +++ b/backend/worker_health.py @@ -13,7 +13,7 @@ async def main(): await retry(lambda: redis.initialize_async()) key = uuid.uuid4().hex run_agent_background.check_health.send(key) - timeout = 5 # seconds + timeout = 20 # seconds elapsed = 0 while elapsed < timeout: if await redis.get(key) == "healthy":