aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/neh/https.cpp
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:39:40 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-09 23:57:14 +0300
commite601ca03f859335d57ecff2e5aa6af234b6052ed (patch)
treede519a847e58a1b3993fcbfe05ff44cc946a3e24 /library/cpp/neh/https.cpp
parentbbf2b6878af3854815a2c0ecb07a687071787639 (diff)
downloadydb-e601ca03f859335d57ecff2e5aa6af234b6052ed.tar.gz
Y_VERIFY->Y_ABORT_UNLESS at ^l
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/neh/https.cpp')
-rw-r--r--library/cpp/neh/https.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/neh/https.cpp b/library/cpp/neh/https.cpp
index a5b0920d978..f1a2ec9e7e7 100644
--- a/library/cpp/neh/https.cpp
+++ b/library/cpp/neh/https.cpp
@@ -1871,7 +1871,7 @@ namespace NNeh {
}
void SetHttpOutputConnectionsLimits(size_t softLimit, size_t hardLimit) {
- Y_VERIFY(
+ Y_ABORT_UNLESS(
hardLimit > softLimit,
"invalid output fd limits; hardLimit=%" PRISZT ", softLimit=%" PRISZT,
hardLimit, softLimit);
@@ -1880,7 +1880,7 @@ namespace NNeh {
}
void SetHttpInputConnectionsLimits(size_t softLimit, size_t hardLimit) {
- Y_VERIFY(
+ Y_ABORT_UNLESS(
hardLimit > softLimit,
"invalid output fd limits; hardLimit=%" PRISZT ", softLimit=%" PRISZT,
hardLimit, softLimit);
@@ -1889,7 +1889,7 @@ namespace NNeh {
}
void SetHttpInputConnectionsTimeouts(unsigned minSec, unsigned maxSec) {
- Y_VERIFY(
+ Y_ABORT_UNLESS(
maxSec > minSec,
"invalid input fd limits timeouts; maxSec=%u, minSec=%u",
maxSec, minSec);