mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 12:01:15 +02:00
Scheduler: stop iterating over workers when candidate worker is found (#220)
This commit is contained in:
@@ -150,6 +150,8 @@ func (scheduler *Scheduler) schedulingLoopIteration() error {
|
||||
affectedWorkers[worker.Name] = true
|
||||
|
||||
workerToResources.Add(worker.Name, unscheduledVM.Resources)
|
||||
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user