diff --git a/shibuya/controller/main.go b/shibuya/controller/main.go index 3ca74c4c..9add4745 100644 --- a/shibuya/controller/main.go +++ b/shibuya/controller/main.go @@ -76,9 +76,9 @@ func (c *Controller) StartRunning() { // In distributed mode, the func will be running as a standalone process // In non-distributed mode, the func will be run as a goroutine. func (c *Controller) IsolateBackgroundTasks() { - c.CheckRunningThenTerminate() go c.AutoPurgeDeployments() go c.AutoPurgeProjectIngressController() + c.CheckRunningThenTerminate() } func (c *Controller) streamToApi() {