Skip to content

Commit

Permalink
dialyzer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnilsson committed Feb 1, 2023
1 parent 246faf2 commit 51613b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbit/src/rabbit_queue_consumers.erl
Expand Up @@ -536,7 +536,7 @@ credit_and_drain(QName, C = #cr{ch_pid = ChPid, limiter = Limiter},
CTag, Credit, Mode, IsEmpty) ->
case rabbit_limiter:credit(Limiter, CTag, Credit, Mode, IsEmpty) of
{true, Limiter1} ->
rabbit_classic_queue:send_drained(ChPid, QName, [{CTag, Credit}]),
ok = rabbit_classic_queue:send_drained(ChPid, QName, [{CTag, Credit}]),
C#cr{limiter = Limiter1};
{false, Limiter1} -> C#cr{limiter = Limiter1}
end.
Expand Down

0 comments on commit 51613b8

Please sign in to comment.