Skip to content

Commit

Permalink
trigger the goroutine funcs first
Browse files Browse the repository at this point in the history
  • Loading branch information
Kejun Huang a.k.a Andy committed Jun 13, 2024
1 parent 4cbd4ad commit f71f135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shibuya/controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit f71f135

Please sign in to comment.