Fixed stop all servers (gevent worker).

This commit is contained in:
Konstantin Enchant 2013-02-25 13:06:30 +04:00
parent a33211b3f3
commit b6d72504eb

View File

@ -110,7 +110,7 @@ class GeventWorker(AsyncWorker):
# Force kill all active the handlers # Force kill all active the handlers
self.log.warning("Worker graceful timeout (pid:%s)" % self.pid) self.log.warning("Worker graceful timeout (pid:%s)" % self.pid)
server.stop(timeout=1) [server.stop(timeout=1) for server in servers]
except: except:
pass pass