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