Update the gunicorn worker class to synchronous

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-12-07 19:07:03 -04:00
parent e5e2e80a8c
commit edf7a71931
2 changed files with 6 additions and 1 deletions

View File

@@ -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.

View File

@@ -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 %}