From 40a9cd0919edbef8f72e13de430bd1cf6e180359 Mon Sep 17 00:00:00 2001 From: Luke Bakken Date: Fri, 27 Dec 2024 11:27:20 -0800 Subject: [PATCH] Add hack to test rabbitmq-dotnet-client-1750 See rabbitmq/rabbitmq-dotnet-client#1750 --- deps/rabbit/src/rabbit_channel.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/rabbit/src/rabbit_channel.erl b/deps/rabbit/src/rabbit_channel.erl index 57b26c187bc..9cba054d6e2 100644 --- a/deps/rabbit/src/rabbit_channel.erl +++ b/deps/rabbit/src/rabbit_channel.erl @@ -662,6 +662,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) -> {stop, normal, State}; handle_cast({command, #'basic.consume_ok'{consumer_tag = CTag} = Msg}, State) -> + timer:sleep(1000), %% rabbitmq-dotnet-client-1750 ok = send(Msg, State), noreply(consumer_monitor(CTag, State));