Skip to content

Commit

Permalink
Merge branch 'pr/78'
Browse files Browse the repository at this point in the history
Change-Id: If097fbcd797a62ae4afd4418b2871e161befddfb
  • Loading branch information
skriptble committed Jul 26, 2018
2 parents 5a1987f + 06a71c7 commit 8df56f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/topology/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ func (s *Server) update() {
defer s.closewg.Done()
heartbeatTicker := time.NewTicker(s.cfg.heartbeatInterval)
rateLimiter := time.NewTicker(minHeartbeatInterval)
defer heartbeatTicker.Stop()
defer rateLimiter.Stop()
checkNow := s.checkNow
done := s.done

Expand Down

0 comments on commit 8df56f1

Please sign in to comment.