Skip to content

Commit

Permalink
Merge pull request #684 from dchompd/patch-1
Browse files Browse the repository at this point in the history
Channel callback from delivery acknowledgement timeout
  • Loading branch information
michaelklishin committed Mar 21, 2024
2 parents 8b700a0 + 22a01d3 commit 947e815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bunny/channel.rb
Expand Up @@ -1820,7 +1820,7 @@ def handle_method(method)

# @private
def channel_level_exception_after_operation_that_has_no_response?(method)
method.reply_code == 406 && method.reply_text =~ /unknown delivery tag/
method.reply_code == 406 && (method.reply_text =~ /unknown delivery tag/ || method.reply_text =~ /delivery acknowledgement on channel \d+ timed out/)
end

# @private
Expand Down

0 comments on commit 947e815

Please sign in to comment.