mirror of https://github.com/jumpserver/jumpserver
fix: 修复 redis 异常后 celery 旧任务不执行的问题
parent
f969444ddd
commit
c56f4dec07
|
@ -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…
Reference in New Issue