mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Don't let fetches squeeze memory on tiny and small builds.
This commit is contained in:
@@ -500,10 +500,8 @@ void Ledger::saveAcceptedLedger(Job&, bool fromConsensus)
|
||||
mCloseResolution % mCloseFlags % mAccountHash.GetHex() % mTransHash.GetHex()));
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (!fromConsensus)
|
||||
if (!fromConsensus && (theConfig.NODE_SIZE < 2)) // tiny or small
|
||||
dropCache();
|
||||
#endif
|
||||
|
||||
if (theApp->getJobQueue().getJobCountTotal(jtPUBOLDLEDGER) < 2)
|
||||
theApp->getLedgerMaster().resumeAcquiring();
|
||||
|
||||
Reference in New Issue
Block a user