From 3f2ec9a5f1d52053b14f68dd7bb16cb641f79878 Mon Sep 17 00:00:00 2001 From: Tanner Prestegard <tanner.prestegard@ligo.org> Date: Tue, 9 Apr 2019 13:43:02 -0500 Subject: [PATCH] Revert change of gunicorn worker to gevent Use the 'sync' worker still due to issues with handling file uploads when gunicorn uses at least 6 but possibly more than 2 workers. --- config/gunicorn_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/gunicorn_config.py b/config/gunicorn_config.py index a07badb3c..384525876 100644 --- a/config/gunicorn_config.py +++ b/config/gunicorn_config.py @@ -18,7 +18,7 @@ bind = "127.0.0.1:{port}".format(port=GUNICORN_PORT) workers = multiprocessing.cpu_count()*2 + 1 # Worker class -worker_class = 'gevent' +worker_class = 'sync' # Max requests settings - a worker restarts after handling this many # requests. May be useful if we have memory leak problems. -- GitLab