mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 16:21:07 +00:00
Apply suggestions from code review
Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
committed by
Clément Renault
parent
ccfe1babdc
commit
5914889a29
@ -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
|
||||
|
Reference in New Issue
Block a user