We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2b938 commit 4a1ea5fCopy full SHA for 4a1ea5f
ouroboros-consensus-cardano/src/unstable-cardano-tools/Cardano/Tools/DBAnalyser/Analysis.hs
@@ -452,6 +452,11 @@ storeLedgerStateAt slotNo ledgerAppMode env = do
452
when (blockSlot blk > slotNo) $ issueWarning blk
453
when ((unBlockNo $ blockNo blk) `mod` 1000 == 0) $ reportProgress blk
454
LedgerDB.tryFlush initLedgerDB
455
+ LedgerDB.garbageCollect initLedgerDB
456
+ . fromWithOrigin 0
457
+ . pointSlot
458
+ . getTip
459
+ =<< IOLike.atomically (LedgerDB.getImmutableTip initLedgerDB)
460
return (continue blk, ())
461
Left err -> do
462
traceWith tracer $ LedgerErrorEvent (blockPoint blk) err
0 commit comments