We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e14a00 commit a25d7b9Copy full SHA for a25d7b9
apps/maxkb/settings/lib.py
@@ -17,8 +17,8 @@
17
if not os.path.exists(celery_data_dir) or not os.path.isdir(celery_data_dir):
18
os.makedirs(celery_data_dir)
19
# Celery using redis as broker
20
-redis_celery_once_db = CONFIG.get("REDIS_CELERY_ONCE_DB", 3)
21
-redis_celery_db = CONFIG.get('REDIS_CELERY_DB', 2)
+redis_celery_once_db = CONFIG.get("REDIS_DB")
+redis_celery_db = CONFIG.get('REDIS_DB')
22
CELERY_BROKER_URL_FORMAT = '%(protocol)s://:%(password)s@%(host)s:%(port)s/%(db)s'
23
if CONFIG.get('REDIS_SENTINEL_MASTER') and CONFIG.get('REDIS_SENTINEL_SENTINELS'):
24
sentinels_str = CONFIG.get('REDIS_SENTINEL_SENTINELS')
0 commit comments