From 4083da3e6430a313964c73898551d66b91ecb21c Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Thu, 30 Mar 2023 21:47:33 +0100 Subject: [PATCH] feat(chalice): changed health-check for EE --- ee/api/chalicelib/core/health.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ee/api/chalicelib/core/health.py b/ee/api/chalicelib/core/health.py index c19338a08..796b67e35 100644 --- a/ee/api/chalicelib/core/health.py +++ b/ee/api/chalicelib/core/health.py @@ -139,7 +139,8 @@ def get_health(): "clickhouse": __check_database_ch }, "ingestionPipeline": { - **({"redis": __check_redis} if config("REDIS_STRING", default=None) is not None else {}), + **({"redis": __check_redis} if config("REDIS_STRING", default=None) is not None + and len(config("REDIS_STRING")) > 0 else {}), # "kafka": __check_kafka "kafka": __always_healthy },