Skip to content

Commit ef9260e

Browse files
committed
try
1 parent 3aa01e5 commit ef9260e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

deps/rabbit/src/rabbit_channel.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,10 @@ prioritise_cast(Msg, _Len, _State) ->
564564
case Msg of
565565
{confirm, _MsgSeqNos, _QPid} -> 5;
566566
{reject_publish, _MsgSeqNos, _QPid} -> 5;
567-
{queue_event, _, {confirm, _MsgSeqNos, _QPid}} -> 5;
567+
% {queue_event, _, {confirm, _MsgSeqNos, _QPid}} -> 5;
568568
{queue_event, _, {reject_publish, _MsgSeqNos, _QPid}} -> 5;
569+
{method, #'basic.ack'{}, _Content, _Flow} -> 5;
570+
% {queue_event, _, {delivery, _, _}} -> 0;
569571
_ -> 0
570572
end.
571573

deps/rabbit/src/rabbit_fifo.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,8 +2064,8 @@ delivery_effect(ConsumerKey, Msgs,
20642064
#?STATE{cfg = #cfg{resource = _QR}} = State) ->
20652065
{CTag, CPid} = consumer_id(ConsumerKey, State),
20662066
{RaftIdxs, _Num} = lists:foldr(fun ({_, ?MSG(I, _)}, {Acc, N}) ->
2067-
{[I | Acc], N+1}
2068-
end, {[], 0}, Msgs),
2067+
{[I | Acc], N+1}
2068+
end, {[], 0}, Msgs),
20692069
{log_ext, RaftIdxs,
20702070
fun
20712071
% (Commands)

0 commit comments

Comments
 (0)