feature(oci): use local index as resolution cache when appropriate, fixes #289 (#294)

This commit is contained in:
Alex Zenla
2024-07-31 16:05:15 -07:00
committed by GitHub
parent 902fffe207
commit 8216ab3602
9 changed files with 72 additions and 5 deletions

View File

@ -448,7 +448,7 @@ impl ControlService for DaemonControlService {
let output = try_stream! {
let mut task = tokio::task::spawn(async move {
our_packer.request(name, format, request.overwrite_cache, context).await
our_packer.request(name, format, request.overwrite_cache, request.update, context).await
});
let abort_handle = task.abort_handle();
let _task_cancel_guard = scopeguard::guard(abort_handle, |handle| {