mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Make sure that we do not batch tasks from different indexes
This commit is contained in:
parent
1c697edb95
commit
7d4527728e
3 changed files with 7 additions and 6 deletions
|
@ -276,7 +276,7 @@ impl IndexScheduler {
|
|||
if let Some(index) = query.index_uid {
|
||||
let mut index_tasks = RoaringBitmap::new();
|
||||
for index in index {
|
||||
index_tasks |= self.get_index(&rtxn, &index)?;
|
||||
index_tasks |= self.index_tasks(&rtxn, &index)?;
|
||||
}
|
||||
tasks &= index_tasks;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue