From b6326603d1ed86415914eb194343948515c1670b Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 9 Dec 2023 01:14:14 +0530 Subject: [PATCH] fix: health endpoint crashing with embedded cache usage --- src/api/v1/meta.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/v1/meta.rs b/src/api/v1/meta.rs index 5fd1982f..fcd8ce76 100644 --- a/src/api/v1/meta.rs +++ b/src/api/v1/meta.rs @@ -62,6 +62,7 @@ impl Health { #[my_codegen::get(path = "crate::V1_API_ROUTES.meta.health")] async fn health(data: AppData) -> impl Responder { let mut resp_builder = HealthBuilder::default(); + resp_builder.redis(None); resp_builder.db(data.db.ping().await);