Skip to content

Commit

Permalink
Disable autoscale in celery (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Co <alex.tuan@mindvalley.com>
  • Loading branch information
onimsha authored Apr 22, 2024
1 parent 5ef9d8c commit c4af552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ autorestart=true
# relatively compute-light (e.g. they tend to just make a bunch of requests to
# Vespa / Postgres)
[program:celery_worker]
command=celery -A danswer.background.celery worker --pool=threads --autoscale=3,10 --loglevel=DEBUG --logfile=/var/log/celery_worker.log
command=celery -A danswer.background.celery worker --pool=threads --loglevel=DEBUG --logfile=/var/log/celery_worker.log
stdout_logfile=/var/log/celery_worker_supervisor.log
stdout_logfile_maxbytes=52428800
redirect_stderr=true
Expand Down

0 comments on commit c4af552

Please sign in to comment.