diff options
| author | cherenkov-p-a <[email protected]> | 2022-02-10 16:49:39 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:39 +0300 |
| commit | 9011d1fa16370ec024d20180d440f7ae6fd0e1c8 (patch) | |
| tree | cd688a9e90e30e02212a6ecaf664209db01c4c36 /library/cpp/http/server/options.h | |
| parent | 9700ce2289436b557831d64eb47682c8c2a30ee2 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
| -rw-r--r-- | library/cpp/http/server/options.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h index 38eda0e5e78..864f7c09e50 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 |
