rename documents -> substep

This commit is contained in:
Louis Dureuil
2024-11-20 15:11:26 +01:00
parent 8380ddbdcd
commit ff9c92c409
4 changed files with 23 additions and 27 deletions

View File

@ -71,7 +71,7 @@ impl<'pl> DocumentOperation<'pl> {
if must_stop_processing() {
return Err(InternalError::AbortedIndexation.into());
}
send_progress(Progress::from_step_documents(
send_progress(Progress::from_step_substep(
Step::PreparingPayloads,
payload_index as u32,
payload_count as u32,
@ -117,7 +117,7 @@ impl<'pl> DocumentOperation<'pl> {
operations_stats.push(PayloadStats { document_count, bytes, error });
}
send_progress(Progress::from_step_documents(
send_progress(Progress::from_step_substep(
Step::PreparingPayloads,
payload_count as u32,
payload_count as u32,