mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-11 07:33:36 -05:00
disable gevent
This commit is contained in:
@@ -10,7 +10,7 @@ import gunicorn
|
||||
# but we have an unusual configuration with a lot of cpus and not much memory
|
||||
# so adjust it.
|
||||
workers = multiprocessing.cpu_count()
|
||||
worker_class = "gevent"
|
||||
worker_class = "sync"
|
||||
bind = "0.0.0.0:{}".format(os.getenv("PORT"))
|
||||
disable_redirect_access_to_syslog = True
|
||||
gunicorn.SERVER_SOFTWARE = "None"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from gevent import monkey
|
||||
# from gevent import monkey
|
||||
|
||||
monkey.patch_all()
|
||||
# monkey.patch_all()
|
||||
|
||||
from application import application # noqa
|
||||
|
||||
Reference in New Issue
Block a user