From 8f5ece0548b59b1f8706f79af814d9f7700acb5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Tyczy=C5=84ski?= Date: Tue, 2 Nov 2021 12:54:29 +0100 Subject: [PATCH] P&F: enable mutating work estimator --- .../pkg/util/flowcontrol/request/mutating_work_estimator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go b/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go index 1c6c441e27c..45f47686a60 100644 --- a/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go +++ b/staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go @@ -30,7 +30,7 @@ const ( eventAdditionalDuration = 5 * time.Millisecond // TODO(wojtekt): Remove it once we tune the algorithm to not fail // scalability tests. - enableMutatingWorkEstimator = false + enableMutatingWorkEstimator = true ) func newMutatingWorkEstimator(countFn watchCountGetterFunc) WorkEstimatorFunc {