mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
More tracing cleaning
This commit is contained in:
parent
aa8fe7f3e8
commit
4369283534
2 changed files with 5 additions and 2 deletions
|
@ -94,7 +94,7 @@ pub(crate) async fn generate<S: Store + 'static>(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::too_many_arguments)]
|
#[allow(clippy::too_many_arguments)]
|
||||||
#[tracing::instrument(skip(repo, store, hash, config))]
|
#[tracing::instrument(skip(tmp_dir, repo, store, hash, config))]
|
||||||
async fn process<S: Store + 'static>(
|
async fn process<S: Store + 'static>(
|
||||||
tmp_dir: &TmpDir,
|
tmp_dir: &TmpDir,
|
||||||
repo: &ArcRepo,
|
repo: &ArcRepo,
|
||||||
|
|
|
@ -996,7 +996,10 @@ async fn process<S: Store + 'static>(
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(name = "Serving processed image headers", skip(repo, store, config))]
|
#[tracing::instrument(
|
||||||
|
name = "Serving processed image headers",
|
||||||
|
skip(tmp_dir, repo, store, config)
|
||||||
|
)]
|
||||||
async fn process_head<S: Store + 'static>(
|
async fn process_head<S: Store + 'static>(
|
||||||
range: Option<web::Header<Range>>,
|
range: Option<web::Header<Range>>,
|
||||||
web::Query(ProcessQuery { source, operations }): web::Query<ProcessQuery>,
|
web::Query(ProcessQuery { source, operations }): web::Query<ProcessQuery>,
|
||||||
|
|
Loading…
Reference in a new issue