Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jan 28, 2020
1 parent 875eb91 commit cf1a0ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/router/route_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ func (rg *RouteGroup) keepAliveLoop(interval time.Duration) {
for {
select {
case <-rg.closed:
rg.logger.Infoln("Route group closed, stopping keep-alive loop")
return
case <-ticker.C:
lastSent := time.Unix(0, atomic.LoadInt64(&rg.lastSent))
Expand Down

0 comments on commit cf1a0ca

Please sign in to comment.