fix: 修复 redis 异常后 celery 旧任务不执行的问题

pull/8892/head
吴小白 2 years ago committed by Jiangjie.Bai
parent ee1ec6aeee
commit 404fadd899

@ -131,6 +131,7 @@ CELERY_TASK_EAGER_PROPAGATES = True
CELERY_WORKER_REDIRECT_STDOUTS = True
CELERY_WORKER_REDIRECT_STDOUTS_LEVEL = "INFO"
CELERY_TASK_SOFT_TIME_LIMIT = 3600
CELERY_WORKER_CANCEL_LONG_RUNNING_TASKS_ON_CONNECTION_LOSS = True
if REDIS_USE_SSL:
CELERY_BROKER_USE_SSL = CELERY_REDIS_BACKEND_USE_SSL = {

Loading…
Cancel
Save