mirror of
https://github.com/status-im/consul.git
synced 2025-02-03 09:24:25 +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 {
|
||||
case <-time.After(lib.RandomStagger(s.config.ACLReplicationInterval)):
|
||||
case <-s.shutdownCh:
|
||||
return
|
||||
}
|
||||
|
||||
// We are fairly conservative with the lastRemoteIndex so that after a
|
||||
|
Loading…
x
Reference in New Issue
Block a user