summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-10-12 19:36:17 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2012-10-12 19:36:17 +0100
commit6b41bae9a520b12dfcd875a3bfca5d32ff8ffdab (patch)
tree9c100f56d6c376bc24aa15f95b71adbde43d4429
parent23f2939a49ebf6c08f6083a5aeb6b0f1f3caebf8 (diff)
downloadrabbitmq-server-6b41bae9a520b12dfcd875a3bfca5d32ff8ffdab.tar.gz
re-instate TODO
-rw-r--r--src/rabbit_amqqueue_process.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 5ee7ca9a..dcf08d29 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -559,6 +559,7 @@ deliver_or_enqueue(Delivery = #delivery{message = Message,
{true, State1} ->
State1;
%% the next one is an optimisations
+ %% TODO: optimise the Confirm =/= never case too
{false, State1 = #q{ttl = 0, dlx = undefined,
backing_queue = BQ, backing_queue_state = BQS}}
when Confirm == never ->