Append acceptors in EventletWorker

This commit is contained in:
Adnane Belmadiaf 2012-12-21 14:35:21 +00:00 committed by benoitc
parent 77251d9d30
commit fa37b90ad8

View File

@ -48,6 +48,8 @@ class EventletWorker(AsyncWorker):
acceptor = eventlet.spawn(eventlet.serve, s, hfun,
self.worker_connections)
acceptors.append(acceptor)
while self.alive:
self.notify()
if self.ppid != os.getppid():