diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2016-09-21 13:26:01 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2016-09-21 13:26:01 +0300 |
| commit | 74308064e56fb975488f260b7cc8652162c88714 (patch) | |
| tree | 6efb403a39b7c0246afa7fe19d993a3d4e06b60e | |
| parent | be7658f9f4ea800ca7f23538a5961ce7d79787d0 (diff) | |
| download | rabbitmq-server-git-74308064e56fb975488f260b7cc8652162c88714.tar.gz | |
Correct a comment
| -rw-r--r-- | src/rabbit_vhost_limit.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_vhost_limit.erl b/src/rabbit_vhost_limit.erl index 54ed7c1c62..bd79f4dd45 100644 --- a/src/rabbit_vhost_limit.erl +++ b/src/rabbit_vhost_limit.erl @@ -87,7 +87,8 @@ is_over_queue_limit(VirtualHost) -> case queue_limit(VirtualHost) of %% no limit configured undefined -> false; - %% with limit = 0, no connections are allowed + %% with limit = 0, no queues can be declared (perhaps not very + %% useful but consistent with the connection limit) {ok, 0} -> {true, 0}; {ok, Limit} when is_integer(Limit) andalso Limit > 0 -> QueueCount = rabbit_amqqueue:count(VirtualHost), |
