rename the send_progress in progress

This commit is contained in:
Tamo
2024-12-11 18:13:12 +01:00
parent 29fc77ee5b
commit fa885e75b4
2 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ pub fn index<'pl, 'indexer, 'index, DC, MSP>(
document_changes: &DC,
embedders: EmbeddingConfigs,
must_stop_processing: &'indexer MSP,
send_progress: &'indexer Progress,
progress: &'indexer Progress,
) -> Result<()>
where
DC: DocumentChanges<'pl>,
@ -125,7 +125,7 @@ where
doc_allocs: &doc_allocs,
fields_ids_map_store: &fields_ids_map_store,
must_stop_processing,
progress: send_progress,
progress,
};
let mut index_embeddings = index.embedding_configs(wtxn)?;