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 | 209004cad8bb2f45939d8b67fd83a7730d4c44a4 (patch) | |
tree | 56eb41bf5d6555c1398c686e674f0d06cc900a9a | |
parent | 0fdf9424c18fc944480d1d470b929830379e5d36 (diff) | |
download | rabbitmq-server-209004cad8bb2f45939d8b67fd83a7730d4c44a4.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 c81c7688..bb3a544e 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 |