Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetMaxSeats (0.1 sec)

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

    type MaxSeatsTracker interface {
    	// GetMaxSeats returns the maximum seats a request should occupy for a given priority level.
    	GetMaxSeats(priorityLevelName string) uint64
    
    	// SetMaxSeats configures max seats for a priority level.
    	SetMaxSeats(priorityLevelName string, maxSeats uint64)
    
    	// ForgetPriorityLevel removes max seats tracking for a priority level.
    	ForgetPriorityLevel(priorityLevelName string)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    				maxSeats := uint64(math.Max(1, math.Min(math.Ceil(float64(concurrencyLimit)*priorityLevelMaxSeatsPercent), float64(int32(concurrencyLimit)/handSize))))
    				meal.cfgCtlr.MaxSeatsTracker.SetMaxSeats(plName, maxSeats)
    			}
    		}
    		if plState.queues == nil {
    			initialCL := concurrencyLimit - lendableCL/2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
Back to top