Browse Source

Fix condition where settings may be applied with multithreading is disabled

pull/4/head
Joseph Henry 2 years ago
parent
commit
c86b91c5f0
No known key found for this signature in database
GPG Key ID: C45B33FF5EBC9344
  1. 5
      service/OneService.cpp

5
service/OneService.cpp

@ -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…
Cancel
Save