Browse Source

fuse_loop.cpp

Antonio SJ Musumeci 6 days ago
parent
commit
b6b09348c1
  1. 5
      libfuse/lib/fuse_loop.cpp

5
libfuse/lib/fuse_loop.cpp

@ -199,9 +199,8 @@ _calculate_thread_count(const int raw_thread_count_)
if(raw_thread_count_ == 0)
{
thread_count = std::thread::hardware_concurrency();
if(thread_count > 8)
thread_count = 8;
thread_count = std::min(8,
std::thread::hardware_concurrency());
}
else if(raw_thread_count_ < 0)
{

Loading…
Cancel
Save