ensure the indexUid is valid in most cases

This commit is contained in:
Irevoire 2022-10-22 15:18:32 +02:00 committed by Clément Renault
parent a8de5368e5
commit f6963f9662
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 10 additions and 5 deletions

View file

@ -246,7 +246,6 @@ async fn document_addition(
};
// we NEED to persist the file here because we moved the `udpate_file` in another task.
update_file.persist()?;
println!("file has been persisted");
Ok(documents_count)
})
.await;