mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
patch all so we make sure io are patched too
This commit is contained in:
parent
c4a77a7e32
commit
acd8d57c9f
@ -25,8 +25,7 @@ class EventletWorker(AsyncWorker):
|
||||
import eventlet
|
||||
if eventlet.version_info < (0,9,7):
|
||||
raise RuntimeError("You need eventlet >= 0.9.7")
|
||||
eventlet.monkey_patch(all=False, socket=True, select=True,
|
||||
thread=True)
|
||||
eventlet.monkey_patch()
|
||||
|
||||
def init_process(self):
|
||||
hubs.use_hub()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user