chore: Upgrade cached and use new sync_writes by_key for faster operations

This commit is contained in:
Gerald Pinder 2025-04-07 11:59:04 -04:00
parent a62b6ff43c
commit ad53cdcb8c
8 changed files with 47 additions and 12 deletions

View file

@ -326,7 +326,7 @@ impl InspectDriver for PodmanDriver {
result = true,
key = "String",
convert = r#"{ format!("{}-{}", opts.image, opts.platform)}"#,
sync_writes = true
sync_writes = "by_key"
)]
fn get_metadata_cache(opts: &GetMetadataOpts) -> Result<ImageMetadata> {
trace!("PodmanDriver::get_metadata({opts:#?})");