Add hack to test rabbitmq-dotnet-client-1750

See rabbitmq/rabbitmq-dotnet-client#1750
This commit is contained in:
Luke Bakken 2024-12-27 11:27:20 -08:00
parent ac7dcc9abe
commit 40a9cd0919
No known key found for this signature in database
GPG Key ID: D99DE30E43EAE440
1 changed files with 1 additions and 0 deletions

View File

@ -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));