diff --git a/docker/web/celery/worker/run.sh b/docker/web/celery/worker/run.sh index 9b1902e2..60e2cf0b 100755 --- a/docker/web/celery/worker/run.sh +++ b/docker/web/celery/worker/run.sh @@ -2,7 +2,9 @@ set -euo pipefail -TASK_CONCURRENCY=${CELERYD_CONCURRENCY:-15000} +MAX_MEMORY_PER_CHILD="${WORKER_MAX_MEMORY_PER_CHILD:-2097152}" +MAX_TASKS_PER_CHILD="${MAX_TASKS_PER_CHILD:-1000000}" +TASK_CONCURRENCY="${CELERYD_CONCURRENCY:-1000}" # DEBUG set in .env_docker_compose if [ ${DEBUG:-0} = 1 ]; then