2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00
This commit is contained in:
asonix 2023-09-05 20:55:11 -05:00
parent e15a82c0c7
commit a761daca34
2 changed files with 2 additions and 1 deletions

View file

@ -560,7 +560,7 @@ async fn do_download_inline<S: Store + 'static>(
metrics::increment_counter!("pict-rs.files", "download" => "inline"); metrics::increment_counter!("pict-rs.files", "download" => "inline");
let (alias, delete_token, details) = 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!({ Ok(HttpResponse::Created().json(&serde_json::json!({
"msg": "ok", "msg": "ok",

View file

@ -351,6 +351,7 @@ async fn process_image_jobs<S, F>(
} }
} }
#[allow(clippy::too_many_arguments)]
async fn image_job_loop<S, F>( async fn image_job_loop<S, F>(
repo: &Arc<dyn FullRepo>, repo: &Arc<dyn FullRepo>,
store: &S, store: &S,