From 22a01d365f062f6b64e2ed669a997b5fa75c95ef Mon Sep 17 00:00:00 2001 From: dchompd <164091734+dchompd@users.noreply.github.com> Date: Thu, 21 Mar 2024 11:05:12 -0600 Subject: [PATCH] Add delivery acknowledgement timeout condition on channel_level_exception_after_operation_that_has_no_response --- lib/bunny/channel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bunny/channel.rb b/lib/bunny/channel.rb index 7c522518..7d2a2e97 100644 --- a/lib/bunny/channel.rb +++ b/lib/bunny/channel.rb @@ -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