MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / reset

Method reset

src/IO/TimeoutSetter.cpp:49–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void TimeoutSetter::reset()
50{
51 bool connected = socket.impl()->initialized();
52 if (!connected)
53 return;
54
55 socket.setSendTimeout(old_send_timeout);
56 socket.setReceiveTimeout(old_receive_timeout);
57 was_reset = true;
58}
59
60}

Callers

nothing calls this directly

Calls 4

initializedMethod · 0.45
implMethod · 0.45
setSendTimeoutMethod · 0.45
setReceiveTimeoutMethod · 0.45

Tested by

no test coverage detected