set celery to autoscale from 8 to 64 processes

This commit is contained in:
codl 2018-01-19 03:30:38 +01:00
parent 46cef0852b
commit b95b47018a
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
web: gunicorn -w 9 -t 3600 -b 127.0.0.1:42157 forget:app web: gunicorn -w 9 -t 3600 -b 127.0.0.1:42157 forget:app
worker: celery -A tasks worker --concurrency=16 worker: celery -A tasks worker --autoscale=64,8
beat: celery -A tasks beat beat: celery -A tasks beat