mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-22 19:27:27 +01:00
Scheduler must not reverse the order of the fetched tasks
This commit is contained in:
parent
0656df3a6d
commit
df721b2e9e
@ -346,8 +346,6 @@ impl Scheduler {
|
||||
.fetch_unfinished_tasks(Some(self.next_fetched_task_id))
|
||||
.await?
|
||||
.into_iter()
|
||||
// The tasks arrive in reverse order, and we need to insert them in order.
|
||||
.rev()
|
||||
.for_each(|t| {
|
||||
self.next_fetched_task_id = t.id + 1;
|
||||
self.register_task(t);
|
||||
|
Loading…
x
Reference in New Issue
Block a user