mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
try(hotpatch): add autoscaling command
This commit is contained in:
parent
8fb5a7fb8f
commit
6f92eac3da
3 changed files with 93 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue