Skip to content

Commit

Permalink
fix: disable periodically gc
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Sep 27, 2021
1 parent 26a355d commit a17dd60
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,12 +512,6 @@ func (c *Controller) startWorkers(stopCh <-chan struct{}) {
c.resyncVpcNatGwConfig()
}, time.Second, stopCh)

go wait.Until(func() {
if err := c.markAndCleanLSP(); err != nil {
klog.Errorf("gc lsp error: %v", err)
}
}, 6*time.Minute, stopCh)

go wait.Until(c.resyncSubnetMetrics, 30*time.Second, stopCh)
go wait.Until(c.CheckGatewayReady, 5*time.Second, stopCh)
go wait.Until(c.resyncNodeACL, 10*time.Second, stopCh)
Expand Down

0 comments on commit a17dd60

Please sign in to comment.