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
add MAX_TASK_PRE_CHILD for celery (#18985)
Jyongecade13455d7
diff --git a/api/docker/entrypoint.sh b/api/docker/entrypoint.shindex 68f3c65a4b9..18d4f4885d7 100755--- a/api/docker/entrypoint.sh+++ b/api/docker/entrypoint.sh@@ -20,7 +20,8 @@ if [[ "${MODE}" == "worker" ]]; thenCONCURRENCY_OPTION="-c ${CELERY_WORKER_AMOUNT:-1}"fi- exec celery -A app.celery worker -P ${CELERY_WORKER_CLASS:-gevent} $CONCURRENCY_OPTION --loglevel ${LOG_LEVEL:-INFO} \+ 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}elif [[ "${MODE}" == "beat" ]]; then