Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canAccommodateSeatsLocked (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    	}
    	queue.nextDispatchR += request.totalWork()
    	return true
    }
    
    // canAccommodateSeatsLocked returns true if this queueSet has enough
    // seats available to accommodate a request with the given number of seats,
    // otherwise it returns false.
    func (qs *queueSet) canAccommodateSeatsLocked(seats int) bool {
    	switch {
    	case qs.qCfg.DesiredNumQueues < 0:
    		// This is code for exemption from limitation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
Back to top