mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit fuse_loop.cpp
This commit is contained in:
parent
7cf3bcdf26
commit
06da914e3b
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ _calculate_thread_counts(int *read_thread_count_,
|
|||
{
|
||||
int nproc;
|
||||
|
||||
nproc = std::thread::hardware_concurrency();
|
||||
nproc = ::_nproc();
|
||||
*read_thread_count_ = std::min(8,nproc);
|
||||
}
|
||||
else if((*read_thread_count_ == 0) && (*process_thread_count_ == 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue