Gitlab will migrate to a new storage backend starting 0300 UTC on 2020-04-04. We do not anticipate a maintenance window for this migration. Performance may be impacted over the weekend. Thanks for your patience.

Commit 52056875 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Upgrade gunicorn version and change worker type

Upgrade gunicorn to 19.9.0 and switch to an asynchronous
worker class
parent 2906f1d7
......@@ -17,8 +17,8 @@ bind = "127.0.0.1:{port}".format(port=GUNICORN_PORT)
# Number of workers = 2*CPU + 1 (recommendation from Gunicorn documentation)
workers = multiprocessing.cpu_count()*2 + 1
# Worker type
worker_type = 'sync'
# Worker class
worker_class = 'gevent'
# Max requests settings - a worker restarts after handling this many
# requests. May be useful if we have memory leak problems.
......
......@@ -10,7 +10,7 @@ django-user-sessions==1.6.0
djangorestframework==3.9.0
dnspython==1.15.0
flake8==3.5.0
gunicorn==19.7.1
gunicorn[gevent]==19.9.0
html5lib==1.0.1
ipdb==0.10.2
ipython==5.5.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment