diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-01-22 13:44:34 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-01-22 13:44:34 +0000 |
| commit | 30c6b56390d72880b634cafba931a5abcb86d065 (patch) | |
| tree | 56eb41bf5d6555c1398c686e674f0d06cc900a9a | |
| parent | bf1eccfbcc8d94134f591102d722baf5b1f7df13 (diff) | |
| download | rabbitmq-server-git-30c6b56390d72880b634cafba931a5abcb86d065.tar.gz | |
Don't think that needs simplifying, but the comment is now not relevant any more.
| -rw-r--r-- | src/rabbit_amqqueue.erl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index c81c7688bc..bb3a544e32 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -707,13 +707,6 @@ deliver([], _Delivery, _Flow) -> []; deliver(Qs, Delivery, Flow) -> - %% TODO simplify? - %% optimisation: when Mandatory = false, rabbit_amqqueue:deliver - %% will deliver the message to the queue process asynchronously, - %% and return true, which means all the QPids will always be - %% returned. It is therefore safe to use a fire-and-forget cast - %% here and return the QPids - the semantics is preserved. This - %% scales much better than the case below. {MPids, SPids} = qpids(Qs), QPids = MPids ++ SPids, case Flow of |
