From bfa38d00b06f182e98886becc29d0b76a93d6ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20G=C3=B6m=C3=B6ri?= Date: Thu, 28 Aug 2025 14:06:05 +0200 Subject: [PATCH] Fix docs: list_unresponsive_queues queue-timeout is in seconds The unit was changed in commit 829a918c --- deps/rabbit/docs/rabbitmqctl.8 | 2 +- .../cli/ctl/commands/list_unresponsive_queues_command.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/rabbit/docs/rabbitmqctl.8 b/deps/rabbit/docs/rabbitmqctl.8 index 64ef2b798d..cf8888bb25 100644 --- a/deps/rabbit/docs/rabbitmqctl.8 +++ b/deps/rabbit/docs/rabbitmqctl.8 @@ -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 diff --git a/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_unresponsive_queues_command.ex b/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_unresponsive_queues_command.ex index 9799fbe5ce..3bcc3d335e 100644 --- a/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_unresponsive_queues_command.ex +++ b/deps/rabbitmq_cli/lib/rabbitmq/cli/ctl/commands/list_unresponsive_queues_command.ex @@ -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 ] [ ...] [--no-table-headers]" + "list_unresponsive_queues [--local] [--queue-timeout ] [ ...] [--no-table-headers]" end def usage_additional() do