diff --git a/src/lib.rs b/src/lib.rs index 9684677..a66c890 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -560,7 +560,7 @@ async fn do_download_inline( metrics::increment_counter!("pict-rs.files", "download" => "inline"); let (alias, delete_token, details) = - ingest_inline(stream, &repo, &store, &client, &config).await?; + ingest_inline(stream, &repo, &store, client, &config).await?; Ok(HttpResponse::Created().json(&serde_json::json!({ "msg": "ok", diff --git a/src/queue.rs b/src/queue.rs index e1e90af..8225d8b 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -351,6 +351,7 @@ async fn process_image_jobs( } } +#[allow(clippy::too_many_arguments)] async fn image_job_loop( repo: &Arc, store: &S,