MCPcopy Create free account
hub / github.com/catboost/catboost / SetHttpInputConnectionsTimeouts

Function SetHttpInputConnectionsTimeouts

library/cpp/neh/https.cpp:1850–1858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1848 }
1849
1850 void SetHttpInputConnectionsTimeouts(unsigned minSec, unsigned maxSec) {
1851 Y_ABORT_UNLESS(
1852 maxSec > minSec,
1853 "invalid input fd limits timeouts; maxSec=%u, minSec=%u",
1854 maxSec, minSec);
1855
1856 NHttps::InputConnections()->MinUnusedConnKeepaliveTimeout.store(minSec, std::memory_order_release);
1857 NHttps::InputConnections()->MaxUnusedConnKeepaliveTimeout.store(maxSec, std::memory_order_release);
1858 }
1859}

Callers

nothing calls this directly

Calls 2

InputConnectionsFunction · 0.85
storeMethod · 0.45

Tested by

no test coverage detected