mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Replace some boost::thread with beast::thread
This commit is contained in:
@@ -195,7 +195,7 @@ void JobQueue::setThreadCount (int c, bool const standaloneMode)
|
||||
}
|
||||
else if (c == 0)
|
||||
{
|
||||
c = boost::thread::hardware_concurrency ();
|
||||
c = SystemStats::getNumCpus ();
|
||||
|
||||
// VFALCO NOTE According to boost, hardware_concurrency cannot return
|
||||
// negative numbers/
|
||||
|
||||
Reference in New Issue
Block a user