Skip to content

Commit

Permalink
Update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gofman8 authored Nov 17, 2023
1 parent b148a7a commit 97bd89d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/web/celery/worker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
Expand Down

0 comments on commit 97bd89d

Please sign in to comment.