2
0
mirror of https://github.com/codl/forget synced 2024-12-25 06:32:15 +01:00

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

View File

@ -1,3 +1,3 @@
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