mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Workaround for whatever the real bug is.
This commit is contained in:
@@ -211,7 +211,7 @@ void JobQueue::shutdown()
|
|||||||
void JobQueue::setThreadCount(int c)
|
void JobQueue::setThreadCount(int c)
|
||||||
{ // set the number of thread serving the job queue to precisely this number
|
{ // set the number of thread serving the job queue to precisely this number
|
||||||
if (theConfig.RUN_STANDALONE)
|
if (theConfig.RUN_STANDALONE)
|
||||||
c = 1;
|
c = 2;
|
||||||
else if (c == 0)
|
else if (c == 0)
|
||||||
{
|
{
|
||||||
c = boost::thread::hardware_concurrency();
|
c = boost::thread::hardware_concurrency();
|
||||||
|
|||||||
Reference in New Issue
Block a user