mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Put the original URL query in the tasks details
This commit is contained in:
parent
751e9bac3b
commit
c2ec4a089b
3 changed files with 18 additions and 10 deletions
|
@ -496,7 +496,7 @@ impl IndexScheduler {
|
|||
};
|
||||
|
||||
let mut wtxn = self.env.write_txn()?;
|
||||
let nbr_deleted_tasks = self.delete_matched_tasks(&mut wtxn, matched_tasks)?;
|
||||
let deleted_tasks_count = self.delete_matched_tasks(&mut wtxn, matched_tasks)?;
|
||||
|
||||
task.status = Status::Succeeded;
|
||||
match &mut task.details {
|
||||
|
@ -505,7 +505,7 @@ impl IndexScheduler {
|
|||
deleted_tasks,
|
||||
original_query: _,
|
||||
}) => {
|
||||
*deleted_tasks = Some(nbr_deleted_tasks);
|
||||
*deleted_tasks = Some(deleted_tasks_count);
|
||||
}
|
||||
_ => unreachable!(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue