mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
fix: remove unused queue generation
(#10532)
Co-authored-by: 刘江波 <jiangbo721@163.com>
This commit is contained in:
parent
70c2ec8ed5
commit
931e76e3d1
|
@ -21,7 +21,7 @@ if [[ "${MODE}" == "worker" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec celery -A app.celery worker -P ${CELERY_WORKER_CLASS:-gevent} $CONCURRENCY_OPTION --loglevel ${LOG_LEVEL} \
|
exec celery -A app.celery worker -P ${CELERY_WORKER_CLASS:-gevent} $CONCURRENCY_OPTION --loglevel ${LOG_LEVEL} \
|
||||||
-Q ${CELERY_QUEUES:-dataset,generation,mail,ops_trace,app_deletion}
|
-Q ${CELERY_QUEUES:-dataset,mail,ops_trace,app_deletion}
|
||||||
|
|
||||||
elif [[ "${MODE}" == "beat" ]]; then
|
elif [[ "${MODE}" == "beat" ]]; then
|
||||||
exec celery -A app.celery beat --loglevel ${LOG_LEVEL}
|
exec celery -A app.celery beat --loglevel ${LOG_LEVEL}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user