Skip to content

Commit

Permalink
Support cancellation on the flow control block
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarbach authored and lukebakken committed Jul 30, 2024
1 parent f2cf79a commit 8c6e061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/RabbitMQ.Client/client/impl/ChannelBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ protected ValueTask ModelSendAsync<TMethod, THeader>(in TMethod method, in THead
{
if (!_flowControlBlock.IsSet)
{
_flowControlBlock.Wait();
_flowControlBlock.Wait(cancellationToken);
}

return Session.TransmitAsync(in method, in header, body, cancellationToken);
Expand Down

0 comments on commit 8c6e061

Please sign in to comment.