mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
there's still a bug upstream about dns patching so don't patch it for
now.
This commit is contained in:
parent
5ea58c1af2
commit
77a8cb66e6
@ -37,7 +37,7 @@ class GEvent2Worker(Worker):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def setup(cls):
|
def setup(cls):
|
||||||
from gevent import monkey
|
from gevent import monkey
|
||||||
monkey.patch_all()
|
monkey.patch_all(dns=False)
|
||||||
|
|
||||||
def handle_request(self, req):
|
def handle_request(self, req):
|
||||||
self.pool.spawn(self.handle, req)
|
self.pool.spawn(self.handle, req)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user