mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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)
|
if (!fromConsensus)
|
||||||
{
|
{
|
||||||
decPendingSaves();
|
decPendingSaves();
|
||||||
|
dropCache();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user