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

Function SetHttpInputConnectionsLimits

library/cpp/neh/https.cpp:1841–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1839 }
1840
1841 void SetHttpInputConnectionsLimits(size_t softLimit, size_t hardLimit) {
1842 Y_ABORT_UNLESS(
1843 hardLimit > softLimit,
1844 "invalid output fd limits; hardLimit=%" PRISZT ", softLimit=%" PRISZT,
1845 hardLimit, softLimit);
1846
1847 NHttps::InputConnections()->SetFdLimits(softLimit, hardLimit);
1848 }
1849
1850 void SetHttpInputConnectionsTimeouts(unsigned minSec, unsigned maxSec) {
1851 Y_ABORT_UNLESS(

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 2

InputConnectionsFunction · 0.85
SetFdLimitsMethod · 0.45

Tested by

no test coverage detected