File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkg/scheduler/internal/queue Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ func (p *PriorityQueue) flushBackoffQCompleted() {
393
393
}
394
394
}
395
395
396
- // flushUnschedulableQLeftover moves pod which stays in unschedulableQ longer than the durationStayUnschedulableQ
396
+ // flushUnschedulableQLeftover moves pod which stays in unschedulableQ longer than the unschedulableQTimeInterval
397
397
// to activeQ.
398
398
func (p * PriorityQueue ) flushUnschedulableQLeftover () {
399
399
p .lock .Lock ()
@@ -537,8 +537,8 @@ func (p *PriorityQueue) AssignedPodUpdated(pod *v1.Pod) {
537
537
p .lock .Unlock ()
538
538
}
539
539
540
- // MoveAllToActiveOrBackoffQueue moves all pods from unschedulableQ to activeQ. This
541
- // function adds all pods and then signals the condition variable to ensure that
540
+ // MoveAllToActiveOrBackoffQueue moves all pods from unschedulableQ to activeQ or backoffQ.
541
+ // This function adds all pods and then signals the condition variable to ensure that
542
542
// if Pop() is waiting for an item, it receives it after all the pods are in the
543
543
// queue and the head is the highest priority pod.
544
544
func (p * PriorityQueue ) MoveAllToActiveOrBackoffQueue (event string ) {
You can’t perform that action at this time.
0 commit comments