Skip to content

Commit 68f8ef1

Browse files
committed
Fix comment
1 parent 0942573 commit 68f8ef1

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

deps/rabbit/src/mc.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ is_cycle_v2(TargetQueue, Deaths) ->
481481
%% queue name and there are no newer deaths with the 'rejected' reason then
482482
%% consider this a cycle."
483483
%% However, the correct death order cannot be reliably determined in v1.
484-
%% deaths_v2 fixes this bug.
484+
%% v2 fixes this bug.
485485
is_cycle_v1(_Queue, []) ->
486486
false;
487487
is_cycle_v1(_Queue, [{_Q, rejected} | _]) ->

deps/rabbit/test/message_containers_deaths_v2_SUITE.erl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,7 @@ enable_feature_flag(Config) ->
6767
amqp_channel:call(Ch,
6868
#'basic.publish'{routing_key = Q1},
6969
#amqp_msg{payload = P2}),
70-
71-
%% We now have 2 messages in Q2 with different mc annotations:
72-
%% * deaths for v1 in the 1st msg
73-
%% * deaths_v2 for v2 in the 2nd msg
70+
%% We now have 2 messages in Q2 with different values for the mc deaths annotation for v1 and v2.
7471

7572
reject(Ch, Q2, P1),
7673
reject(Ch, Q2, P2),

0 commit comments

Comments
 (0)