From a480053d93d9642962be424ecd3fd1352e5796d7 Mon Sep 17 00:00:00 2001 From: jyong <718720800@qq.com> Date: Wed, 22 Oct 2025 15:57:20 +0800 Subject: [PATCH] add celery prefetch setting --- api/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/docker/entrypoint.sh b/api/docker/entrypoint.sh index 421d72a3a9..defa727c9f 100755 --- a/api/docker/entrypoint.sh +++ b/api/docker/entrypoint.sh @@ -33,7 +33,7 @@ if [[ "${MODE}" == "worker" ]]; then exec celery -A celery_entrypoint.celery worker -P ${CELERY_WORKER_CLASS:-gevent} $CONCURRENCY_OPTION \ --max-tasks-per-child ${MAX_TASKS_PER_CHILD:-50} --loglevel ${LOG_LEVEL:-INFO} \ -Q ${CELERY_QUEUES:-dataset,pipeline,mail,ops_trace,app_deletion,plugin,workflow_storage,conversation} \ - --prefetch-multiplier=1 + --prefetch-multiplier=1 --without-mingle --without-gossip elif [[ "${MODE}" == "beat" ]]; then exec celery -A app.celery beat --loglevel ${LOG_LEVEL:-INFO}