From 97bd89d86c63f5e87c1b6f3753753f42a5b0f6d1 Mon Sep 17 00:00:00 2001 From: Renat Skitsan Date: Fri, 17 Nov 2023 14:44:20 +0200 Subject: [PATCH] Update run.sh --- docker/web/celery/worker/run.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/web/celery/worker/run.sh b/docker/web/celery/worker/run.sh index 9b9420d0..90ed129d 100755 --- a/docker/web/celery/worker/run.sh +++ b/docker/web/celery/worker/run.sh @@ -29,9 +29,8 @@ export C_FORCE_ROOT=true echo "==> $(date +%H:%M:%S) ==> Running Celery worker with a max_memory_per_child of ${MAX_MEMORY_PER_CHILD} <==" # https://github.com/sumitasok/celery/issues/5#issuecomment-781717855 -exec celery -C -A config.celery_app worker \ +exec celery -C -A config.celery_app worker --task-events \ --loglevel $log_level --pool=gevent \ - -E \ --concurrency=${TASK_CONCURRENCY} \ --max-memory-per-child=${MAX_MEMORY_PER_CHILD} \ --max-tasks-per-child=${MAX_TASKS_PER_CHILD} \