mirror of https://github.com/hashicorp/consul
Returns from the shutdown wait right away.
parent
17537a0f10
commit
a771b34de6
|
@ -284,6 +284,7 @@ func (s *Server) runACLReplication() {
|
|||
select {
|
||||
case <-time.After(lib.RandomStagger(s.config.ACLReplicationInterval)):
|
||||
case <-s.shutdownCh:
|
||||
return
|
||||
}
|
||||
|
||||
// We are fairly conservative with the lastRemoteIndex so that after a
|
||||
|
|
Loading…
Reference in New Issue