diff options
author | sskvor <sskvor@yandex-team.ru> | 2022-02-10 16:48:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:04 +0300 |
commit | 10ade5dcb952a8fae61f734485641a8409e1c545 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/http/server/options.h | |
parent | 75abffb472365d28bd0a019db1a54cb32a6100dd (diff) | |
download | ydb-10ade5dcb952a8fae61f734485641a8409e1c545.tar.gz |
Restoring authorship annotation for <sskvor@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r-- | library/cpp/http/server/options.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h index 5d35eddf5d..38eda0e5e7 100644 --- a/library/cpp/http/server/options.h +++ b/library/cpp/http/server/options.h @@ -124,13 +124,13 @@ public: return *this; } - /// Use TElasticQueue instead of TThreadPool for request queues - inline THttpServerOptions& EnableElasticQueues(bool enable) noexcept { - UseElasticQueues = enable; - - return *this; - } - + /// Use TElasticQueue instead of TThreadPool for request queues + inline THttpServerOptions& EnableElasticQueues(bool enable) noexcept { + UseElasticQueues = enable; + + return *this; + } + inline THttpServerOptions& SetThreadsName(const TString& listenThreadName, const TString& requestsThreadName, const TString& failRequestsThreadName) noexcept { ListenThreadName = listenThreadName; RequestsThreadName = requestsThreadName; @@ -165,7 +165,7 @@ public: 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 - bool UseElasticQueues = false; + bool UseElasticQueues = false; TDuration PollTimeout; // timeout of TSocketPoller::WaitT call TDuration ExpirationTimeout; // drop inactive connections after ExpirationTimeout (should be > 0) |