Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

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