disable gevent

This commit is contained in:
Kenneth Kehl
2025-07-29 10:31:06 -07:00
parent 814d08af2b
commit 8593a9b1ba
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import gunicorn
# but we have an unusual configuration with a lot of cpus and not much memory # but we have an unusual configuration with a lot of cpus and not much memory
# so adjust it. # so adjust it.
workers = multiprocessing.cpu_count() workers = multiprocessing.cpu_count()
worker_class = "gevent" worker_class = "sync"
bind = "0.0.0.0:{}".format(os.getenv("PORT")) bind = "0.0.0.0:{}".format(os.getenv("PORT"))
disable_redirect_access_to_syslog = True disable_redirect_access_to_syslog = True
gunicorn.SERVER_SOFTWARE = "None" gunicorn.SERVER_SOFTWARE = "None"
+2 -2
View File
@@ -1,5 +1,5 @@
from gevent import monkey # from gevent import monkey
monkey.patch_all() # monkey.patch_all()
from application import application # noqa from application import application # noqa