mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fixes
This commit is contained in:
parent
0a21d9bfb3
commit
5f93651cef
6 changed files with 20 additions and 33 deletions
|
@ -971,6 +971,8 @@ impl IndexScheduler {
|
|||
let ProcessingTasks { started_at, processing, progress, .. } =
|
||||
self.processing_tasks.read().map_err(|_| Error::CorruptedTaskQueue)?.clone();
|
||||
|
||||
let _ = progress;
|
||||
|
||||
let ret = tasks.into_iter();
|
||||
if processing.is_empty() {
|
||||
Ok((ret.collect(), total))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue