summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcorbacho <dparracorbacho@piotal.io>2021-04-09 15:24:06 +0200
committerkjnilsson <knilsson@pivotal.io>2021-04-13 16:42:09 +0100
commit1c696a3b9e67dbcd96dd4c0c0911384c3373eb36 (patch)
tree76e2b844b91f2f9c7cf2a9556f8aa3876c09cd3b
parent7427efde60a413cf52c9dbbbed3db541061d0458 (diff)
downloadrabbitmq-server-git-1c696a3b9e67dbcd96dd4c0c0911384c3373eb36.tar.gz
Hide consumer capacity for stream queues
-rw-r--r--deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs
index 125c0f9193..e3ac572fde 100644
--- a/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs
+++ b/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs
@@ -139,10 +139,12 @@
<td><%= fmt_string(queue.consumer_details.length) %></td>
</tr>
<% } %>
+ <% if (!is_stream(queue)) { %>
<tr>
<th>Consumer capacity <span class="help" id="queue-consumer-capacity"></th>
<td><%= fmt_percent(queue.consumer_capacity) %></td>
</tr>
+ <% } %>
<% if (is_quorum(queue)) { %>
<tr>
<th>Open files</th>