File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Storage/ChainDB/Impl Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ import Ouroboros.Consensus.Storage.ChainDB.Impl.ChainSel
72
72
import Ouroboros.Consensus.Storage.ChainDB.Impl.Types
73
73
import qualified Ouroboros.Consensus.Storage.ImmutableDB as ImmutableDB
74
74
import qualified Ouroboros.Consensus.Storage.LedgerDB as LedgerDB
75
+ import qualified Ouroboros.Consensus.Storage.PerasCertDB.API as PerasCertDB
75
76
import qualified Ouroboros.Consensus.Storage.VolatileDB as VolatileDB
76
77
import Ouroboros.Consensus.Util
77
78
import Ouroboros.Consensus.Util.Condense
@@ -311,6 +312,7 @@ garbageCollect CDB{..} slotNo = do
311
312
atomically $ do
312
313
LedgerDB. garbageCollect cdbLedgerDB slotNo
313
314
modifyTVar cdbInvalid $ fmap $ Map. filter ((>= slotNo) . invalidBlockSlotNo)
315
+ PerasCertDB. garbageCollect cdbPerasCertDB slotNo
314
316
traceWith cdbTracer $ TraceGCEvent $ PerformedGC slotNo
315
317
316
318
{- ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments