MCPcopy
hub / github.com/tornadoweb/tornado / on_timeout

Method on_timeout

tornado/tcpclient.py:170–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

168 )
169
170 def on_timeout(self) -> None:
171 self.timeout = None
172 if not self.future.done():
173 self.try_connect(iter(self.secondary_addrs))
174
175 def clear_timeout(self) -> None:
176 if self.timeout is not None:

Callers 1

on_connect_doneMethod · 0.95

Calls 2

try_connectMethod · 0.95
doneMethod · 0.45

Tested by

no test coverage detected