mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Progress displayed in logs
This commit is contained in:
parent
c782c09208
commit
bfefaf71c2
3 changed files with 34 additions and 15 deletions
|
@ -182,8 +182,8 @@ impl ProcessingTasks {
|
|||
self.processing = processing;
|
||||
}
|
||||
|
||||
fn update_progress(&mut self, progress: Progress) {
|
||||
self.progress.get_or_insert_with(TaskProgress::default).update(progress);
|
||||
fn update_progress(&mut self, progress: Progress) -> TaskProgress {
|
||||
self.progress.get_or_insert_with(TaskProgress::default).update(progress)
|
||||
}
|
||||
|
||||
/// Set the processing tasks to an empty list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue