mirror of
https://github.com/status-im/consul.git
synced 2025-02-09 12:25:17 +00:00
Returns from the shutdown wait right away.
This commit is contained in:
parent
17537a0f10
commit
a771b34de6
@ -284,6 +284,7 @@ func (s *Server) runACLReplication() {
|
|||||||
select {
|
select {
|
||||||
case <-time.After(lib.RandomStagger(s.config.ACLReplicationInterval)):
|
case <-time.After(lib.RandomStagger(s.config.ACLReplicationInterval)):
|
||||||
case <-s.shutdownCh:
|
case <-s.shutdownCh:
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// We are fairly conservative with the lastRemoteIndex so that after a
|
// We are fairly conservative with the lastRemoteIndex so that after a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user