Commit c88a6c23 authored by Elvin Sindrilaru's avatar Elvin Sindrilaru

MGM: Increase the max size of the pool of threads executing proc commands to 32

parent 0083d481
Pipeline #393105 failed with stages
in 10 minutes and 58 seconds
......@@ -36,8 +36,8 @@ std::list<std::unique_ptr<IProcCommand>> ProcInterface::mCmdToDel;
std::unordered_map<std::string, std::unique_ptr<IProcCommand>>
ProcInterface::mMapCmds;
eos::common::ThreadPool ProcInterface::sProcThreads(
std::max(std::thread::hardware_concurrency() / 10, 1u),
std::max(std::thread::hardware_concurrency() / 4, 3u)
std::max(std::thread::hardware_concurrency() / 10, 4u),
std::max(std::thread::hardware_concurrency() / 4, 32u)
);
//------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment