Skip to content

Commit b266799

Browse files
committed
refactor: remove incompatible CONNECTION_POOL_KWARGS from Redis config
1 parent a6f0081 commit b266799

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/maxkb/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ def get_cache_setting(self):
9494
'SOCKET_TIMEOUT': 1,
9595
})
9696

97-
# 必须移除和 Sentinel 不兼容的项
98-
redis_config['default']['OPTIONS'].pop('CONNECTION_POOL_KWARGS', None)
99-
10097
return redis_config
10198

10299
def get_language_code(self):

0 commit comments

Comments
 (0)