Skip to content

Commit 7dc8cf4

Browse files
committed
Fix bug in metrics gc
The metrics cleanup for the channel_queue_metrics didn't handle the updated metrics tuple arity.
1 parent ee1f211 commit 7dc8cf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_core_metrics_gc.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ gc_entity(Id, Table, Key, GbSet) ->
138138
end.
139139

140140
gc_process_and_entity(Table, GbSet) ->
141-
ets:foldl(fun({{Pid, Id} = Key, _, _, _, _, _, _, _}, none)
141+
ets:foldl(fun({{Pid, Id} = Key, _, _, _, _, _, _, _, _}, none)
142142
when Table == channel_queue_metrics ->
143143
gc_process_and_entity(Id, Pid, Table, Key, GbSet);
144144
({{Pid, Id} = Key, _, _, _, _}, none)

0 commit comments

Comments
 (0)