mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Shed load if the ledger publication engine is falling behind.
This commit is contained in:
@@ -829,6 +829,9 @@ bool serverOkay (std::string& reason)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!theApp->getLedgerMaster().isCaughtUp(reason))
|
||||
return false;
|
||||
|
||||
if (theApp->getFeeTrack ().isLoaded ())
|
||||
{
|
||||
reason = "Too much load";
|
||||
|
||||
Reference in New Issue
Block a user