diff --git a/deps/rabbit/src/rabbit_runtime_parameters.erl b/deps/rabbit/src/rabbit_runtime_parameters.erl index f919ad396900..f7851b635ee8 100644 --- a/deps/rabbit/src/rabbit_runtime_parameters.erl +++ b/deps/rabbit/src/rabbit_runtime_parameters.erl @@ -166,10 +166,10 @@ is_within_limit(Component) -> case Limit < 0 orelse count_component(Component) < Limit of true -> ok; false -> - ErrorMsg = "Limit reached: component ~ts is limited to ~tp", + ErrorMsg = "Limit reached: component ~ts is limited to ~tp per node", ErrorArgs = [Component, Limit], rabbit_log:error(ErrorMsg, ErrorArgs), - {errors, [{"component ~ts is limited to ~tp", [Component, Limit]}]} + {errors, [{"component ~ts is limited to ~tp per node", [Component, Limit]}]} end. count_component(Component) -> length(list_component(Component)).