diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-06-14 12:32:11 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-06-14 12:32:11 +0100 |
commit | dafdcc8bb119f93b1b8576a4674ef1632c0685ca (patch) | |
tree | ce4e92ec41d55b2b65ba41ecb642419617b7d955 | |
parent | 896d1dd084942ce6714b0628088c9a6761b8f017 (diff) | |
download | rabbitmq-server-dafdcc8bb119f93b1b8576a4674ef1632c0685ca.tar.gz |
Clarify comment.
-rw-r--r-- | src/rabbit_channel.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 76a500ce..f4434ade 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -525,9 +525,9 @@ handle_method(#'basic.consume'{queue = QueueNameBin, Other -> Other end, - %% In order to ensure that the consume_ok gets sent before - %% any messages are sent to the consumer, we get the queue - %% process to send the consume_ok on our behalf. + %% We get the queue process to send the consume_ok on our + %% behalf. This is for symmetry with basic.cancel - see + %% the comment in that method for why. case with_exclusive_access_or_die( QueueName, ReaderPid, fun (Q) -> |