diff --git a/compose/django/gunicorn.sh b/compose/django/gunicorn.sh index 6889382..ca42e08 100644 --- a/compose/django/gunicorn.sh +++ b/compose/django/gunicorn.sh @@ -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 diff --git a/compose/django/stage-gunicorn-mhackspace.sh b/compose/django/stage-gunicorn-mhackspace.sh index b6edd97..bbbc7a6 100644 --- a/compose/django/stage-gunicorn-mhackspace.sh +++ b/compose/django/stage-gunicorn-mhackspace.sh @@ -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