Returns from the shutdown wait right away.

pull/2237/head
James Phillips 2016-08-09 11:09:48 -07:00
parent 17537a0f10
commit a771b34de6
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 1 additions and 0 deletions

View File

@ -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