Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat: increase default celery worker concurrency to 4 (#33105)
Weichen Zhao7e4754392d74
diff --git a/docker/.env.example b/docker/.env.exampleindex 9fbf9a9e72a..b2d6244b462 100644--- a/docker/.env.example+++ b/docker/.env.example@@ -186,8 +186,10 @@ CELERY_WORKER_CLASS=# it is recommended to set it to 360 to support a longer sse connection time.GUNICORN_TIMEOUT=360-# The number of Celery workers. The default is 1, and can be set as needed.-CELERY_WORKER_AMOUNT=+# The number of Celery workers. The default is 4 for development environments+# to allow parallel processing of workflows, document indexing, and other async tasks.+# Adjust based on your system resources and workload requirements.+CELERY_WORKER_AMOUNT=4# Flag indicating whether to enable autoscaling of Celery workers.#diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yamlindex 737a62020ca..ed68107f46c 100644--- a/docker/docker-compose.yaml+++ b/docker/docker-compose.yaml@@ -46,7 +46,7 @@ x-shared-env: &shared-api-worker-envSERVER_WORKER_CONNECTIONS: ${SERVER_WORKER_CONNECTIONS:-10}CELERY_WORKER_CLASS: ${CELERY_WORKER_CLASS:-}GUNICORN_TIMEOUT: ${GUNICORN_TIMEOUT:-360}- CELERY_WORKER_AMOUNT: ${CELERY_WORKER_AMOUNT:-}+ CELERY_WORKER_AMOUNT: ${CELERY_WORKER_AMOUNT:-4}CELERY_AUTO_SCALE: ${CELERY_AUTO_SCALE:-false}CELERY_MAX_WORKERS: ${CELERY_MAX_WORKERS:-}CELERY_MIN_WORKERS: ${CELERY_MIN_WORKERS:-}