Skip to content

Commit

Permalink
do not use adaptive thread pool (ydb-platform#536)
Browse files Browse the repository at this point in the history
Co-authored-by: Alekseii Nikolaevskii <alexnick@ydb.tech>
  • Loading branch information
2 people authored and azevaykin committed Dec 19, 2023
1 parent e440c15 commit 4c225f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ydb/core/http_proxy/http_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c225f3

Please sign in to comment.