mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix a bug that can stall the acquire engine.
This commit is contained in:
@@ -500,11 +500,11 @@ void LedgerMaster::tryPublish()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mTooFast = false;
|
||||||
if (!mPubLedgers.empty() && !mPubThread)
|
if (!mPubLedgers.empty() && !mPubThread)
|
||||||
{
|
{
|
||||||
theApp->getOPs().clearNeedNetworkLedger();
|
theApp->getOPs().clearNeedNetworkLedger();
|
||||||
mPubThread = true;
|
mPubThread = true;
|
||||||
mTooFast = false;
|
|
||||||
theApp->getJobQueue().addJob(jtPUBLEDGER, boost::bind(&LedgerMaster::pubThread, this));
|
theApp->getJobQueue().addJob(jtPUBLEDGER, boost::bind(&LedgerMaster::pubThread, this));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user