From ec5229f79c623d97d14bee0eed396bee81dbd59a Mon Sep 17 00:00:00 2001 From: liuhaoran <75237518+liuhaoran1212@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:18:56 +0800 Subject: [PATCH] Update api/configs/middleware/cache/redis_config.py Okay Co-authored-by: Bowen Liang --- api/configs/middleware/cache/redis_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/configs/middleware/cache/redis_config.py b/api/configs/middleware/cache/redis_config.py index 8e19b8c95e..2e98c31ec3 100644 --- a/api/configs/middleware/cache/redis_config.py +++ b/api/configs/middleware/cache/redis_config.py @@ -69,7 +69,7 @@ class RedisConfig(BaseSettings): default=0.1, ) - REDIS_USE_CLUSTERS: Optional[bool] = Field( + REDIS_USE_CLUSTERS: bool = Field( description="Enable Redis Clusters mode for high availability", default=False, )