Merge pull request #14451 from cloudamqp/docs_unresp_timeout

Fix docs: list_unresponsive_queues queue-timeout is in seconds
This commit is contained in:
Michael Klishin 2025-08-28 10:17:09 -04:00 committed by GitHub
commit f754ddde52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1323,7 +1323,7 @@ each queue of the virtual host named
.sp .sp
.Dl rabbitmqctl list_queues -p my-vhost messages consumers .Dl rabbitmqctl list_queues -p my-vhost messages consumers
.\" ------------------------------------------------------------------ .\" ------------------------------------------------------------------
.It Cm list_unresponsive_queues Oo Fl -local Oc Oo Fl -queue-timeout Ar milliseconds Oc Oo Ar queueinfoitem ... Oc Op Fl -no-table-headers .It Cm list_unresponsive_queues Oo Fl -local Oc Oo Fl -queue-timeout Ar seconds Oc Oo Ar queueinfoitem ... Oc Op Fl -no-table-headers
.Pp .Pp
Tests queue leader replicas to respond within the given timeout. Lists those that did not respond in time. Tests queue leader replicas to respond within the given timeout. Lists those that did not respond in time.
.Pp .Pp

View File

@ -81,7 +81,7 @@ defmodule RabbitMQ.CLI.Ctl.Commands.ListUnresponsiveQueuesCommand do
def banner(_, %{vhost: vhost}), do: "Listing unresponsive queues for vhost #{vhost} ..." def banner(_, %{vhost: vhost}), do: "Listing unresponsive queues for vhost #{vhost} ..."
def usage() do def usage() do
"list_unresponsive_queues [--local] [--queue-timeout <milliseconds>] [<column> ...] [--no-table-headers]" "list_unresponsive_queues [--local] [--queue-timeout <seconds>] [<column> ...] [--no-table-headers]"
end end
def usage_additional() do def usage_additional() do