diff --git a/libfuse/lib/fuse_loop.cpp b/libfuse/lib/fuse_loop.cpp index 3936d3cf..903481de 100644 --- a/libfuse/lib/fuse_loop.cpp +++ b/libfuse/lib/fuse_loop.cpp @@ -197,7 +197,6 @@ _calculate_thread_count(const int raw_thread_count_) { int thread_count; - thread_count = 4; if(raw_thread_count_ == 0) { thread_count = std::thread::hardware_concurrency(); @@ -212,6 +211,10 @@ _calculate_thread_count(const int raw_thread_count_) { thread_count = raw_thread_count_; } + else + { + thread_count = 4; + } if(thread_count <= 0) thread_count = 1;