mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 06:55:50 +00:00
Reduce memory growth during ledger fetching.
This commit is contained in:
@@ -498,6 +498,7 @@ void Ledger::saveAcceptedLedger(bool fromConsensus, LoadEvent::pointer event)
|
||||
if (!fromConsensus)
|
||||
{
|
||||
decPendingSaves();
|
||||
dropCache();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user