Don't let fetches squeeze memory on tiny and small builds.

This commit is contained in:
JoelKatz
2013-03-20 00:02:52 -07:00
parent e75b3b3e3a
commit ce1e1a5bca

View File

@@ -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();