summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Nilsson <kjnilsson@gmail.com>2019-04-11 12:31:08 +0100
committerGitHub <noreply@github.com>2019-04-11 12:31:08 +0100
commitb1dbdbbcf877d6b7762c92d03b9c04eef6e0f64e (patch)
treea09291ab76b38b7184686e11b1cad8ca9c26ce46 /src
parente52513ac0753723c90cbd386290583ff93776e06 (diff)
parent9e4a67f99a19e4dc0ba5d68ddb79abaadab2ab85 (diff)
downloadrabbitmq-server-git-b1dbdbbcf877d6b7762c92d03b9c04eef6e0f64e.tar.gz
Merge pull request #1978 from rabbitmq/calculate-quorum-memory
Update quorum queue supervisor for memory calculation
Diffstat (limited to 'src')
-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)