patch all so we make sure io are patched too

This commit is contained in:
benoitc 2010-06-03 21:32:01 +02:00 committed by Paul J. Davis
parent c4a77a7e32
commit acd8d57c9f

View File

@ -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()