mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
Merge pull request #90542 from lixiang233/master
There's no need to set moveRequestCycle and do broadcast twice.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user