reduce number of workers for stage to save the rams

This commit is contained in:
Oliver Marks 2017-03-04 11:48:03 +00:00
parent 5696331bd2
commit f590e03f52
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@
python /app/manage.py collectstatic --noinput python /app/manage.py collectstatic --noinput
python /app/manage.py compilescss python /app/manage.py compilescss
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/gunicorn.sock --error-logfile /var/log/gunicorn/gunicorn-error.log --chdir=/app /usr/local/bin/gunicorn config.wsgi -w 3 -b unix:/data/sockets/gunicorn.sock --error-logfile /var/log/gunicorn/gunicorn-error.log --chdir=/app

View File

@ -3,4 +3,4 @@ rm -R /app/staticfiles/*
python /app/manage.py collectstatic --noinput python /app/manage.py collectstatic --noinput
python /app/manage.py compilescss python /app/manage.py compilescss
/usr/local/bin/gunicorn config.wsgi -w 4 -b unix:/data/sockets/stage-gunicorn-mhackspace.sock --error-logfile /var/log/gunicorn/stage-gunicorn-mhackspace.log --chdir=/app /usr/local/bin/gunicorn config.wsgi -w 2 -b unix:/data/sockets/stage-gunicorn-mhackspace.sock --error-logfile /var/log/gunicorn/stage-gunicorn-mhackspace.log --chdir=/app