mirror of https://github.com/langgenius/dify.git
feat: add plugin queue to celery cmd in entrypoint.sh
This commit is contained in:
parent
bcfbeee333
commit
2c795ec301
|
|
@ -22,7 +22,7 @@ if [[ "${MODE}" == "worker" ]]; then
|
|||
|
||||
exec celery -A app.celery worker -P ${CELERY_WORKER_CLASS:-gevent} $CONCURRENCY_OPTION \
|
||||
--max-tasks-per-child ${MAX_TASK_PRE_CHILD:-50} --loglevel ${LOG_LEVEL:-INFO} \
|
||||
-Q ${CELERY_QUEUES:-dataset,mail,ops_trace,app_deletion}
|
||||
-Q ${CELERY_QUEUES:-dataset,mail,ops_trace,app_deletion,plugin}
|
||||
|
||||
elif [[ "${MODE}" == "beat" ]]; then
|
||||
exec celery -A app.celery beat --loglevel ${LOG_LEVEL:-INFO}
|
||||
|
|
|
|||
Loading…
Reference in New Issue