mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix gevent2 worker shutdown.
This commit is contained in:
parent
764d81b742
commit
645938f2b9
@ -76,11 +76,11 @@ class GEvent2Worker(Worker):
|
||||
gevent.kill(acceptor)
|
||||
break
|
||||
gevent.sleep(0.1)
|
||||
pool.join(timeout=self.timeout)
|
||||
self.pool.join(timeout=self.timeout)
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user