From 91482153c5bf93933b385707a05cdb7dd5c8176f Mon Sep 17 00:00:00 2001 From: alexnick88 <103254633+alexnick88@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:49:07 +0300 Subject: [PATCH] do not use adaptive thread pool (#536) Co-authored-by: Alekseii Nikolaevskii --- ydb/core/http_proxy/http_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ydb/core/http_proxy/http_service.cpp b/ydb/core/http_proxy/http_service.cpp index da629c498a90..f09ab0808559 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);