- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DefaultWorkEstimatorConfig (0.36 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go
) func TestWorkEstimator(t *testing.T) { featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.WatchList, true) defaultCfg := DefaultWorkEstimatorConfig() tests := []struct { name string requestURI string requestInfo *apirequest.RequestInfo counts map[string]int64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/config.go
handler = filterlatency.TrackStarted(handler, c.TracerProvider, "authorization") if c.FlowControl != nil { workEstimatorCfg := flowcontrolrequest.DefaultWorkEstimatorConfig() requestWorkEstimator := flowcontrolrequest.NewWorkEstimator( c.StorageObjectCountTracker.Get, c.FlowControl.GetInterestedWatchCount, workEstimatorCfg, c.FlowControl.GetMaxSeats)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 47.7K bytes - Viewed (0)