diff --git a/HISTORY.rst b/HISTORY.rst index c86300b421..5253009789 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,3 +1,8 @@ +3.3.4 (2019-12-XX) +================== +- Update the gunicorn worker class to synchronous. + + 3.3.3 (2019-12-05) ================== - Fix transformation label display in transformation create view. diff --git a/mayan/apps/platform/templates/platform/supervisord.tmpl b/mayan/apps/platform/templates/platform/supervisord.tmpl index a2211f4396..f13a50a342 100644 --- a/mayan/apps/platform/templates/platform/supervisord.tmpl +++ b/mayan/apps/platform/templates/platform/supervisord.tmpl @@ -11,7 +11,7 @@ environment= [program:mayan-gunicorn] autorestart = true autostart = true -command = {{ INSTALLATION_PATH }}/bin/gunicorn -w {{ GUNICORN_WORKERS }} mayan.wsgi --max-requests 500 --max-requests-jitter 50 --worker-class gevent --bind 0.0.0.0:8000 --timeout {{ GUNICORN_TIMEOUT }} +command = {{ INSTALLATION_PATH }}/bin/gunicorn -w {{ GUNICORN_WORKERS }} mayan.wsgi --max-requests 500 --max-requests-jitter 50 --worker-class sync --bind 0.0.0.0:8000 --timeout {{ GUNICORN_TIMEOUT }} user = mayan {% for worker in workers %}