Skip to content

Commit

Permalink
Fix max_thread_pool_size
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Jun 24, 2024
1 parent 681a91b commit 01fba90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/local/LocalServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void LocalServer::initialize(Poco::Util::Application & self)
}

GlobalThreadPool::initialize(
config().getUInt("max_thread_pool_size", std::max(getNumberOfPhysicalCPUCores() * 2, 256u)),
config().getUInt("max_thread_pool_size", std::max(getNumberOfPhysicalCPUCores(), 1024u)),
config().getUInt("max_thread_pool_free_size", 0),
config().getUInt("thread_pool_queue_size", 10000));

Expand Down

0 comments on commit 01fba90

Please sign in to comment.