| 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 | } |
nothing calls this directly
no test coverage detected