Skip to content

Commit aeb5c6b

Browse files
Merge pull request #877 from rabbitmq/rabbitmq-management-244
Use rabbit_misc to parse GC stats, supporting maps in R19
2 parents 6c135d9 + 41dd04a commit aeb5c6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rabbit_amqqueue_process.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -925,8 +925,7 @@ i(recoverable_slaves, #q{q = #amqqueue{name = Name,
925925
i(state, #q{status = running}) -> credit_flow:state();
926926
i(state, #q{status = State}) -> State;
927927
i(garbage_collection, _State) ->
928-
{garbage_collection, GC} = erlang:process_info(self(), garbage_collection),
929-
GC;
928+
rabbit_misc:get_gc_info(self());
930929
i(reductions, _State) ->
931930
{reductions, Reductions} = erlang:process_info(self(), reductions),
932931
Reductions;

0 commit comments

Comments
 (0)