From 47f0acbbd9ca240abb2946b6a5d39d5fa271c0bd Mon Sep 17 00:00:00 2001 From: Mengxin Liu Date: Mon, 26 Oct 2020 13:28:43 +0800 Subject: [PATCH] perf: accelerate ic and ex gw update --- pkg/controller/controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index 82859e45351..10f70580ef7 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -389,11 +389,11 @@ func (c *Controller) startWorkers(stopCh <-chan struct{}) { go wait.Until(func() { c.resyncInterConnection() - }, 30*time.Second, stopCh) + }, time.Second, stopCh) go wait.Until(func() { c.resyncExternalGateway() - }, 30*time.Second, stopCh) + }, time.Second, stopCh) go wait.Until(func() { if err := c.markAndCleanLSP(); err != nil {