remove checking timeouts

This commit is contained in:
keakon 2015-10-08 12:20:43 +08:00
parent e1912db59a
commit 5708d1d23b

View File

@ -58,7 +58,7 @@ class TornadoWorker(Worker):
pass
self.server_alive = False
else:
if not self.ioloop._callbacks and len(self.ioloop._timeouts) <= 1:
if not self.ioloop._callbacks:
self.ioloop.stop()
def run(self):