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

Method on_connect_timeout

tornado/tcpclient.py:186–189  ·  tornado/tcpclient.py::_Connector.on_connect_timeout
(self)

Source from the content-addressed store, hash-verified

184 )
185
186 def on_connect_timeout(self) -> None:
187 if not self.future.done():
188 self.future.set_exception(TimeoutError())
189 self.close_streams()
190
191 def clear_timeouts(self) -> None:
192 if self.timeout is not None:

Calls 2

close_streamsMethod · 0.95
doneMethod · 0.45