mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Add batch_uid to all successful and failed tasks too
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
This commit is contained in:
@ -530,7 +530,12 @@ impl Queue {
|
||||
..task
|
||||
}
|
||||
} else {
|
||||
task
|
||||
dbg!(&task);
|
||||
if task.status == Status::Succeeded || task.status == Status::Failed {
|
||||
Task { batch_uid: Some(batch.uid), ..task }
|
||||
} else {
|
||||
task
|
||||
}
|
||||
}
|
||||
})
|
||||
.collect(),
|
||||
|
Reference in New Issue
Block a user