refactor: remove incompatible CONNECTION_POOL_KWARGS from Redis config

This commit is contained in:
CaptainB 2025-06-30 18:19:54 +08:00
parent a6f0081c94
commit b2667998a4

View File

@ -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):