2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

More tracing cleaning

This commit is contained in:
asonix 2023-12-22 13:30:17 -06:00
parent aa8fe7f3e8
commit 4369283534
2 changed files with 5 additions and 2 deletions

View file

@ -94,7 +94,7 @@ pub(crate) async fn generate<S: Store + 'static>(
}
#[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>(
tmp_dir: &TmpDir,
repo: &ArcRepo,

View file

@ -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>(
range: Option<web::Header<Range>>,
web::Query(ProcessQuery { source, operations }): web::Query<ProcessQuery>,