Skip to content

Commit

Permalink
[native] Streamline default number of threads in HTTP thread pools.
Browse files Browse the repository at this point in the history
  • Loading branch information
spershin authored and xiaoxmeng committed Nov 14, 2023
1 parent 4f9bc23 commit 7c51fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions presto-native-execution/presto_cpp/main/common/Configs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ SystemConfig::SystemConfig() {
NONE_PROP(kDiscoveryUri),
NUM_PROP(kMaxDriversPerTask, 16),
NUM_PROP(kConcurrentLifespansPerTask, 1),
NUM_PROP(kHttpExecThreads, 8),
NUM_PROP(kNumHttpCpuThreads, std::thread::hardware_concurrency() * 2),
NUM_PROP(kHttpExecThreads, std::thread::hardware_concurrency()),
NUM_PROP(kNumHttpCpuThreads, std::thread::hardware_concurrency()),
NONE_PROP(kHttpServerHttpsPort),
STR_PROP(kHttpServerHttpsEnabled, "false"),
STR_PROP(
Expand Down

0 comments on commit 7c51fd2

Please sign in to comment.