summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Corbacho <diana@rabbitmq.com>2019-04-11 08:07:15 +0100
committerDiana Corbacho <diana@rabbitmq.com>2019-04-11 08:07:15 +0100
commit9e4a67f99a19e4dc0ba5d68ddb79abaadab2ab85 (patch)
tree3fb64b0cf5cac4b28bead7e65f5bc9a3ea1f3e16
parent09ab089066e8148ebe30ce3183958ea039470826 (diff)
downloadrabbitmq-server-git-9e4a67f99a19e4dc0ba5d68ddb79abaadab2ab85.tar.gz
Update quorum queue supervisor for memory calculation
[#161752680]
-rw-r--r--src/rabbit_vm.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_vm.erl b/src/rabbit_vm.erl
index cf4a23d336..34ba6bc111 100644
--- a/src/rabbit_vm.erl
+++ b/src/rabbit_vm.erl
@@ -183,7 +183,7 @@ queue_sups() ->
quorum_sups() ->
%% TODO: in the future not all ra servers may be queues and we needs
%% some way to filter this
- [ra_server_sup].
+ [Pid || {_, Pid, _, _} <- supervisor:which_children(ra_server_sup_sup)].
msg_stores() ->
all_vhosts_children(msg_store_transient)