aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexnick88 <103254633+alexnick88@users.noreply.github.com>2023-12-18 13:49:07 +0300
committerGitHub <noreply@github.com>2023-12-18 11:49:07 +0100
commit9f6e1bc06099a8f26f29de4432373a0f0a5dd8bd (patch)
tree055e9c991dcbeca0e0ac8215545ddda003b40292
parent644036d344c8c8b8b106d0cd1cbba737f645764a (diff)
downloadydb-9f6e1bc06099a8f26f29de4432373a0f0a5dd8bd.tar.gz
do not use adaptive thread pool (#536)
Co-authored-by: Alekseii Nikolaevskii <alexnick@ydb.tech>
-rw-r--r--ydb/core/http_proxy/http_service.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/http_proxy/http_service.cpp b/ydb/core/http_proxy/http_service.cpp
index da629c498a9..f09ab080855 100644
--- a/ydb/core/http_proxy/http_service.cpp
+++ b/ydb/core/http_proxy/http_service.cpp
@@ -47,6 +47,7 @@ namespace NKikimr::NHttpProxy {
Processors->Initialize();
if (cfg.UseSDK) {
auto config = NYdb::TDriverConfig().SetNetworkThreadsNum(1)
+ .SetClientThreadsNum(1)
.SetGRpcKeepAlivePermitWithoutCalls(true)
.SetGRpcKeepAliveTimeout(TDuration::Seconds(90))
.SetDiscoveryMode(NYdb::EDiscoveryMode::Async);