From dfdbd9d71fff6a79a4dc3a2df519ecd7764b9741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E5=BE=AE=E6=BE=9C?= Date: Sun, 8 Oct 2023 17:23:57 +0800 Subject: [PATCH] allow unlimited concurrency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 夜微澜 --- pkg/ovs/ovs-vsctl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ovs/ovs-vsctl.go b/pkg/ovs/ovs-vsctl.go index 0528694be9e..05c50c760f6 100644 --- a/pkg/ovs/ovs-vsctl.go +++ b/pkg/ovs/ovs-vsctl.go @@ -21,7 +21,7 @@ func init() { } func UpdateOVSVsctlLimiter(c int32) { - if c > 0 { + if c >= 0 { limiter.Update(c) klog.V(4).Infof("update ovs-vsctl concurrency limit to %d", limiter.Limit()) }