Update the tasks statuses

This commit is contained in:
Kerollmops 2022-10-04 18:50:18 +02:00 committed by Clément Renault
parent 88a0ed9736
commit f3f6bbf624
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
5 changed files with 126 additions and 42 deletions

View file

@ -274,7 +274,7 @@ async fn document_addition(
.await;
let documents_count = match documents_count {
Ok(Ok(documents_count)) => documents_count,
Ok(Ok(documents_count)) => documents_count as u64,
Ok(Err(e)) => {
index_scheduler.delete_update_file(uuid)?;
return Err(e);