reduce number of workers for stage to save the rams
This commit is contained in:
parent
5696331bd2
commit
f590e03f52
|
@ -2,4 +2,4 @@
|
|||
python /app/manage.py collectstatic --noinput
|
||||
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
|
||||
|
|
|
@ -3,4 +3,4 @@ rm -R /app/staticfiles/*
|
|||
python /app/manage.py collectstatic --noinput
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue