chore: Upgrade cached and use new sync_writes by_key for faster operations
This commit is contained in:
parent
a62b6ff43c
commit
ad53cdcb8c
8 changed files with 47 additions and 12 deletions
|
|
@ -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:#?})");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue