mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-15 11:36:54 +02:00
Fix condition where settings may be applied with multithreading is disabled
This commit is contained in:
parent
e42848d37d
commit
c86b91c5f0
1 changed files with 5 additions and 0 deletions
|
@ -2664,6 +2664,11 @@ public:
|
|||
}
|
||||
setUpMultithreading();
|
||||
}
|
||||
else {
|
||||
// Force values in case the user accidentally defined them with multicore disabled
|
||||
_concurrency = 1;
|
||||
_cpuPinningEnabled = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef ZT_SDK
|
||||
|
|
Loading…
Add table
Reference in a new issue