From a771b34de632b0c53fc12eae53b76d1790a7308e Mon Sep 17 00:00:00 2001 From: James Phillips Date: Tue, 9 Aug 2016 11:09:48 -0700 Subject: [PATCH] Returns from the shutdown wait right away. --- consul/acl_replication.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consul/acl_replication.go b/consul/acl_replication.go index c59077543e..94642ebcf6 100644 --- a/consul/acl_replication.go +++ b/consul/acl_replication.go @@ -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