Commit 38e723b1 by Tianqi Chen Committed by GitHub

[RPC] Fix tracker fault handling (#1109)

parent cdee6a79
......@@ -206,7 +206,7 @@ class TCPEventHandler(tornado_util.TCPHandler):
return False
try:
self.ret_value([TrackerCode.SUCCESS, value])
except (socket.sock_error, IOError):
except (socket.error, IOError):
return False
return True
self._tracker.request(key, user, priority, _cb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment