Browse Source

fuse_loop.cpp

Antonio SJ Musumeci 1 week ago
parent
commit
72b003a91f
  1. 6
      libfuse/lib/fuse_loop.cpp

6
libfuse/lib/fuse_loop.cpp

@ -195,7 +195,7 @@ static
int int
_calculate_thread_count(const int raw_thread_count_) _calculate_thread_count(const int raw_thread_count_)
{ {
int thread_count;
int thread_count = 1;
if(raw_thread_count_ == 0) if(raw_thread_count_ == 0)
{ {
@ -211,10 +211,6 @@ _calculate_thread_count(const int raw_thread_count_)
{ {
thread_count = raw_thread_count_; thread_count = raw_thread_count_;
} }
else
{
thread_count = 4;
}
if(thread_count <= 0) if(thread_count <= 0)
thread_count = 1; thread_count = 1;

Loading…
Cancel
Save