From b2667998a4fffcd262e1e53787716d82ff4f08f4 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Mon, 30 Jun 2025 18:19:54 +0800 Subject: [PATCH] refactor: remove incompatible CONNECTION_POOL_KWARGS from Redis config --- apps/maxkb/conf.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/maxkb/conf.py b/apps/maxkb/conf.py index b08b7d2ca..8028ad07d 100644 --- a/apps/maxkb/conf.py +++ b/apps/maxkb/conf.py @@ -94,9 +94,6 @@ class Config(dict): 'SOCKET_TIMEOUT': 1, }) - # 必须移除和 Sentinel 不兼容的项 - redis_config['default']['OPTIONS'].pop('CONNECTION_POOL_KWARGS', None) - return redis_config def get_language_code(self):