Skip to content

Commit f529a75

Browse files
author
jmull3n
authored
Merge pull request #118 from pinpt/add-rabbitmqbits
move back to no-wait true when cancelling a subscription; don't need to wait since it's an ackable queue
2 parents 132ce71 + 4d32dc5 commit f529a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rabbitmq/rabbitmq.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ func (session *Session) startConsumeLoop(consumergroup string, autoAck bool, exc
254254

255255
err := session.consumerchannelhost.Channel.Cancel(
256256
consumergroup, // Consumer
257-
false, // No-Wait
257+
true, // No-Wait
258258
)
259259
if err != nil {
260260
log.Error(session.logger, "error closing channel on exit", "err", err)

0 commit comments

Comments
 (0)