Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/hm/src/commands/cache/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub async fn handle_clean() -> Result<i32> {
/// cache index is reset.
async fn remove_registered_images(db_path: &std::path::Path) {
// Capacity here is irrelevant — we only read existing rows, never insert.
let registry = match hm_vm::ImageRegistry::open(db_path, u64::MAX) {
let registry = match hm_vm::ImageRegistry::open(db_path, std::num::NonZeroU64::MAX) {
Ok(r) => r,
Err(e) => {
tracing::warn!(error = %e, "could not open image registry; skipping image removal");
Expand Down
Loading