Fix docs: list_unresponsive_queues queue-timeout is in seconds

The unit was changed in commit 829a918c
This commit is contained in:
Péter Gömöri 2025-08-28 14:06:05 +02:00
parent 5a19efee89
commit bfa38d00b0
2 changed files with 2 additions and 2 deletions

View File

@ -1323,7 +1323,7 @@ each queue of the virtual host named
.sp
.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
Tests queue leader replicas to respond within the given timeout. Lists those that did not respond in time.
.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 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
def usage_additional() do