mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #747 from wooparadog/stop-all-servers
Stop all servers
This commit is contained in:
commit
63451aabe9
@ -121,10 +121,11 @@ class GeventWorker(AsyncWorker):
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
pass
|
pass
|
||||||
except:
|
except:
|
||||||
try:
|
for server in servers:
|
||||||
server.stop()
|
try:
|
||||||
except:
|
server.stop()
|
||||||
pass
|
except:
|
||||||
|
pass
|
||||||
raise
|
raise
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user