Files
core/cluster/follower.go
2023-06-08 14:48:28 +02:00

14 lines
221 B
Go

package cluster
// followerLoop is run by every follower node in the cluster.
func (c *cluster) followerLoop(stopCh chan struct{}) {
for {
select {
case <-stopCh:
return
case <-c.shutdownCh:
return
}
}
}