Skip to content

Commit a5214f3

Browse files
committed
Now with spec
1 parent d2192fb commit a5214f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/rabbit/src/rabbit_queue_type.erl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,9 @@ known_queue_type_names() ->
772772
QTypeBins = lists:map(fun(X) -> atom_to_binary(X) end, QueueTypes),
773773
?KNOWN_QUEUE_TYPES ++ QTypeBins.
774774

775+
-spec check_queue_limits(amqqueue:amqqueue()) ->
776+
ok |
777+
{protocol_error, Type :: atom(), Reason :: string(), Args :: term()}.
775778
check_queue_limits(Q) ->
776779
maybe
777780
%% Prepare for more checks

0 commit comments

Comments
 (0)