Skip to content

Commit

Permalink
Merge pull request #1036 from daedric/master
Browse files Browse the repository at this point in the history
Avoid Ticker leak in case of slow consumers
  • Loading branch information
eapache authored Feb 6, 2018
2 parents f7466ea + cd0485e commit 38f3411
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ feederLoop:
child.messages <- msg
}
child.broker.input <- child
expiryTicker.Stop()
continue feederLoop
} else {
// current message has not been sent, return to select
Expand Down

0 comments on commit 38f3411

Please sign in to comment.