Skip to content

Commit eae9146

Browse files
committed
consumer: don't stop the ticker if we time out
Now that we reuse a single ticker the whole time, this would probably lead to the consumer just kind of hanging and never resuming. Thanks to #1028 (comment) for catching this.
1 parent 3d1fae1 commit eae9146

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

consumer.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,6 @@ feederLoop:
461461
child.messages <- msg
462462
}
463463
child.broker.input <- child
464-
expiryTicker.Stop()
465464
continue feederLoop
466465
} else {
467466
// current message has not been sent, return to select

0 commit comments

Comments
 (0)