mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Apply suggestions from code review
Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
parent
ccfe1babdc
commit
5914889a29
2 changed files with 2 additions and 1 deletions
|
@ -442,7 +442,7 @@ impl IndexScheduler {
|
|||
match batch {
|
||||
Batch::Cancel(_) => todo!(),
|
||||
Batch::DeleteTasks(mut task) => {
|
||||
// 1. Retrieve the tasks that matched the quety at enqueue-time
|
||||
// 1. Retrieve the tasks that matched the query at enqueue-time.
|
||||
let matched_tasks =
|
||||
if let KindWithContent::DeleteTasks { tasks, query: _ } = &task.kind {
|
||||
tasks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue