Unverified Commit ea00f354 authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

turbo-tasks-backend: drain the balance queue instead of replacing it

Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
parent ff8feb24
......@@ -1328,7 +1328,7 @@ impl AggregationUpdateQueue {
&& self.removal_jobs.is_empty())
{
self.process(ctx);
balance_queue.extend(take(&mut self.balance_queue));
balance_queue.extend(self.balance_queue.drain(..));
}
assert!(
self.find_and_schedule.is_empty() && self.scheduled_tasks.is_empty(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment