Skip to content
Snippets Groups Projects
Commit 3f2ec9a5 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

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.
parent a0208664
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment