mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Append acceptors in EventletWorker
This commit is contained in:
parent
77251d9d30
commit
fa37b90ad8
@ -48,6 +48,8 @@ class EventletWorker(AsyncWorker):
|
|||||||
acceptor = eventlet.spawn(eventlet.serve, s, hfun,
|
acceptor = eventlet.spawn(eventlet.serve, s, hfun,
|
||||||
self.worker_connections)
|
self.worker_connections)
|
||||||
|
|
||||||
|
acceptors.append(acceptor)
|
||||||
|
|
||||||
while self.alive:
|
while self.alive:
|
||||||
self.notify()
|
self.notify()
|
||||||
if self.ppid != os.getppid():
|
if self.ppid != os.getppid():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user