Skip to content

Commit

Permalink
fix(Store/inventory): update inv at start of gc
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed Oct 12, 2024
1 parent 4459efa commit 9e7b6f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Store/src/inventory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ If `trimmsg` is set, a message about any sources removed by trimming is emitted.
"""
function garbage_collect!(inv::Inventory; log::Bool=true, dryrun::Bool=false, trimmsg::Bool=false)
inv.file.writable || return
inv = update_inventory!(inv)
msgwidth = MSG_LABEL_WIDTH + 2 * dryrun
(; active_collections, live_collections, ghost_collections, dead_collections) =
scan_collections(inv; log)
Expand Down

0 comments on commit 9e7b6f5

Please sign in to comment.