Refactor gunicorn -w to be set from WEB_CONCURRENCY env

Closes #1480.
This commit is contained in:
Nikita P. Shupeyko 2018-03-05 14:26:43 +03:00
parent 20a43c2bc5
commit 5261956356

View File

@ -6,4 +6,4 @@ set -o nounset
python /app/manage.py collectstatic --noinput
/usr/local/bin/gunicorn config.wsgi -w 4 -b 0.0.0.0:5000 --chdir=/app
/usr/local/bin/gunicorn config.wsgi -b 0.0.0.0:5000 --chdir=/app