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 1b08a61 commit e78bf4aCopy full SHA for e78bf4a
1 file changed
crates/hm/src/commands/cache/clean.rs
@@ -55,7 +55,7 @@ pub async fn handle_clean() -> Result<i32> {
55
/// cache index is reset.
56
async fn remove_registered_images(db_path: &std::path::Path) {
57
// Capacity here is irrelevant — we only read existing rows, never insert.
58
- let registry = match hm_vm::ImageRegistry::open(db_path, u64::MAX) {
+ let registry = match hm_vm::ImageRegistry::open(db_path, std::num::NonZeroU64::MAX) {
59
Ok(r) => r,
60
Err(e) => {
61
tracing::warn!(error = %e, "could not open image registry; skipping image removal");
0 commit comments