mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
There's no need to set moveRequestCycle and do broadcast twice.
This commit is contained in:
parent
75aede28e1
commit
5844bc3b9f
@ -499,8 +499,6 @@ func (p *PriorityQueue) MoveAllToActiveOrBackoffQueue(event string) {
|
|||||||
unschedulablePods = append(unschedulablePods, pInfo)
|
unschedulablePods = append(unschedulablePods, pInfo)
|
||||||
}
|
}
|
||||||
p.movePodsToActiveOrBackoffQueue(unschedulablePods, event)
|
p.movePodsToActiveOrBackoffQueue(unschedulablePods, event)
|
||||||
p.moveRequestCycle = p.schedulingCycle
|
|
||||||
p.cond.Broadcast()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: this function assumes lock has been acquired in caller
|
// NOTE: this function assumes lock has been acquired in caller
|
||||||
|
Loading…
Reference in New Issue
Block a user