Skip to content

Commit

Permalink
tiny fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Sep 6, 2023
1 parent dcd2233 commit 8b72956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@ func (c *RaftCluster) Start(s Server) error {
}
c.initSchedulers()
} else {
c.wg.Add(3)
c.wg.Add(2)
go c.runCoordinator()
go c.runStatsBackgroundJobs()
go c.runMetricsCollectionJob()
}

c.wg.Add(7)
c.wg.Add(8)
go c.runMetricsCollectionJob()
go c.runNodeStateCheckJob()
go c.syncRegions()
go c.runReplicationMode()
Expand Down

0 comments on commit 8b72956

Please sign in to comment.