aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/options.h
diff options
context:
space:
mode:
authorcherenkov-p-a <cherenkov-p-a@yandex-team.ru>2022-02-10 16:49:39 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:39 +0300
commit9011d1fa16370ec024d20180d440f7ae6fd0e1c8 (patch)
treecd688a9e90e30e02212a6ecaf664209db01c4c36 /library/cpp/http/server/options.h
parent9700ce2289436b557831d64eb47682c8c2a30ee2 (diff)
downloadydb-9011d1fa16370ec024d20180d440f7ae6fd0e1c8.tar.gz
Restoring authorship annotation for <cherenkov-p-a@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r--library/cpp/http/server/options.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h
index 38eda0e5e7..864f7c09e5 100644
--- a/library/cpp/http/server/options.h
+++ b/library/cpp/http/server/options.h
@@ -118,12 +118,12 @@ public:
return *this;
}
- inline THttpServerOptions& SetMaxRequestsPerConnection(size_t val) noexcept {
- MaxRequestsPerConnection = val;
-
- return *this;
- }
-
+ inline THttpServerOptions& SetMaxRequestsPerConnection(size_t val) noexcept {
+ MaxRequestsPerConnection = val;
+
+ return *this;
+ }
+
/// Use TElasticQueue instead of TThreadPool for request queues
inline THttpServerOptions& EnableElasticQueues(bool enable) noexcept {
UseElasticQueues = enable;
@@ -164,7 +164,7 @@ public:
TDuration ClientTimeout;
size_t OutputBufferSize = 0;
ui64 MaxInputContentLength = sizeof(size_t) <= 4 ? 2_GB : 64_GB;
- size_t MaxRequestsPerConnection = 0; // If keep-alive is enabled, request limit before connection is closed
+ size_t MaxRequestsPerConnection = 0; // If keep-alive is enabled, request limit before connection is closed
bool UseElasticQueues = false;
TDuration PollTimeout; // timeout of TSocketPoller::WaitT call