mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: remove incompatible CONNECTION_POOL_KWARGS from Redis config
This commit is contained in:
parent
a6f0081c94
commit
b2667998a4
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue