mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fix incorrect comments in scheduler_queue.go
This commit is contained in:
		@@ -48,8 +48,8 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	// If the pod stays in unschedulableQ longer than the unschedulableQTimeInterval,
 | 
			
		||||
	// the pod will be moved from unschedulableQ to activeQ.
 | 
			
		||||
	// If a pod stays in unschedulableQ longer than unschedulableQTimeInterval,
 | 
			
		||||
	// the pod will be moved from unschedulableQ to backoffQ or activeQ.
 | 
			
		||||
	unschedulableQTimeInterval = 60 * time.Second
 | 
			
		||||
 | 
			
		||||
	queueClosed = "scheduling queue is closed"
 | 
			
		||||
@@ -434,8 +434,8 @@ func (p *PriorityQueue) flushBackoffQCompleted() {
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// flushUnschedulableQLeftover moves pod which stays in unschedulableQ longer than the unschedulableQTimeInterval
 | 
			
		||||
// to activeQ.
 | 
			
		||||
// flushUnschedulableQLeftover moves pods which stay in unschedulableQ longer than unschedulableQTimeInterval
 | 
			
		||||
// to backoffQ or activeQ.
 | 
			
		||||
func (p *PriorityQueue) flushUnschedulableQLeftover() {
 | 
			
		||||
	p.lock.Lock()
 | 
			
		||||
	defer p.lock.Unlock()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user