Skip to content

Commit 5844bc3

Browse files
committed
There's no need to set moveRequestCycle and do broadcast twice.
1 parent 75aede2 commit 5844bc3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/scheduler/internal/queue/scheduling_queue.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,8 +499,6 @@ func (p *PriorityQueue) MoveAllToActiveOrBackoffQueue(event string) {
499499
unschedulablePods = append(unschedulablePods, pInfo)
500500
}
501501
p.movePodsToActiveOrBackoffQueue(unschedulablePods, event)
502-
p.moveRequestCycle = p.schedulingCycle
503-
p.cond.Broadcast()
504502
}
505503

506504
// NOTE: this function assumes lock has been acquired in caller

0 commit comments

Comments
 (0)