From 4ede62d88663dfebdf9c05b4e7a4c26f02f20181 Mon Sep 17 00:00:00 2001 From: dekzter Date: Wed, 2 Apr 2025 16:28:19 -0400 Subject: [PATCH] limit celery workers - need to make this configurable --- docker/uwsgi.dev.ini | 2 +- docker/uwsgi.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/uwsgi.dev.ini b/docker/uwsgi.dev.ini index 5b23b183..191423bf 100644 --- a/docker/uwsgi.dev.ini +++ b/docker/uwsgi.dev.ini @@ -8,7 +8,7 @@ exec-pre = python /app/scripts/wait_for_redis.py ; Start Redis first attach-daemon = redis-server ; Then start other services -attach-daemon = celery -A dispatcharr worker -l info +attach-daemon = celery -A dispatcharr worker -l info --concurrency=4 attach-daemon = celery -A dispatcharr beat -l info attach-daemon = daphne -b 0.0.0.0 -p 8001 dispatcharr.asgi:application attach-daemon = cd /app/frontend && npm run dev diff --git a/docker/uwsgi.ini b/docker/uwsgi.ini index 1b1de50a..e1da85a5 100644 --- a/docker/uwsgi.ini +++ b/docker/uwsgi.ini @@ -8,7 +8,7 @@ exec-pre = python /app/scripts/wait_for_redis.py ; Start Redis first attach-daemon = redis-server ; Then start other services -attach-daemon = celery -A dispatcharr worker -l error +attach-daemon = celery -A dispatcharr worker -l error --concurrency=4 attach-daemon = celery -A dispatcharr beat -l error attach-daemon = daphne -b 0.0.0.0 -p 8001 dispatcharr.asgi:application