mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Put the original URL query in the tasks details
This commit is contained in:
committed by
Clément Renault
parent
751e9bac3b
commit
c2ec4a089b
@ -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!(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user