diff options
author | Emile Joubert <emile@rabbitmq.com> | 2012-12-17 11:54:27 +0000 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2012-12-17 11:54:27 +0000 |
commit | 73c50523e13404389fd4b45a326bb8df19c13b7b (patch) | |
tree | 539179f06028892bb50e5ad3d2fc5dea7e7697d6 | |
parent | 19e6ab32a1b4da7c16dc10161b11f513c1383436 (diff) | |
download | rabbitmq-server-73c50523e13404389fd4b45a326bb8df19c13b7b.tar.gz |
Whitespace
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index ffff464d..922cb6cb 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -588,8 +588,8 @@ deliver_or_enqueue(Delivery = #delivery{message = Message}, end end. -publish_max(#delivery{message = Message, - sender = SenderPid}, +publish_max(#delivery{message = Message, + sender = SenderPid}, Props, Delivered, State = #q{backing_queue = BQ, backing_queue_state = BQS, max_depth = undefined}) -> @@ -602,7 +602,7 @@ publish_max(#delivery{message = Message, State = #q{backing_queue = BQ, backing_queue_state = BQS, dlx = XName, - max_depth = MaxDepth }) -> + max_depth = MaxDepth}) -> {Depth, Len} = {BQ:depth(BQS), BQ:len(BQS)}, case {Depth >= MaxDepth, Len =:= 0} of {false, _} -> |