perf: 添加Redis哨兵配置的默认值

pull/9052/head
jiangweidong 2 years ago committed by Jiangjie.Bai
parent f3c90c6bbd
commit e03f49e52b

@ -199,6 +199,10 @@ class Config(dict):
'REDIS_PORT': 6379,
'REDIS_PASSWORD': '',
'REDIS_USE_SSL': False,
# Redis Sentinel
'REDIS_SENTINEL_HOSTS': '',
'REDIS_SENTINEL_PASSWORD': '',
'REDIS_SENTINEL_SOCKET_TIMEOUT': None,
# Default value
'REDIS_DB_CELERY': 3,
'REDIS_DB_CACHE': 4,

Loading…
Cancel
Save