try(hotpatch): add autoscaling command

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-02-02 11:36:54 -08:00
parent 8fb5a7fb8f
commit 6f92eac3da
3 changed files with 93 additions and 3 deletions

View file

@ -39,7 +39,7 @@ backend_pid=$!
sleep 5
echo "Starting Celery Worker..."
celery -A app.celery_app worker --loglevel=info &
celery -A app.celery_app worker --loglevel=info --autoscale=64,4 &
celery_worker_pid=$!
# Wait a bit for worker to initialize