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

Function SetHttpOutputConnectionsLimits

library/cpp/neh/https.cpp:1832–1839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830 }
1831
1832 void SetHttpOutputConnectionsLimits(size_t softLimit, size_t hardLimit) {
1833 Y_ABORT_UNLESS(
1834 hardLimit > softLimit,
1835 "invalid output fd limits; hardLimit=%" PRISZT ", softLimit=%" PRISZT,
1836 hardLimit, softLimit);
1837
1838 NHttps::ConnectionCache()->SetFdLimits(softLimit, hardLimit);
1839 }
1840
1841 void SetHttpInputConnectionsLimits(size_t softLimit, size_t hardLimit) {
1842 Y_ABORT_UNLESS(

Callers

nothing calls this directly

Calls 2

ConnectionCacheFunction · 0.85
SetFdLimitsMethod · 0.45

Tested by

no test coverage detected