diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-02-03 17:47:04 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-02-03 17:47:04 +0000 |
| commit | 285e8e1d9407842f1834a21d486e9a9a377d7c18 (patch) | |
| tree | aa2358cb2ba9df59759762c737c2fe16fa94d261 | |
| parent | 49a3fbf9792c823d8eabf082b4bac7f8b423925f (diff) | |
| download | rabbitmq-server-git-285e8e1d9407842f1834a21d486e9a9a377d7c18.tar.gz | |
This optimisation only makes sense when the message is neither mandatory nor confirmable!
| -rw-r--r-- | src/rabbit_channel.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 45868cebfa..e7f8b29018 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -1505,6 +1505,7 @@ notify_limiter(Limiter, Acked) -> end. deliver_to_queues({#delivery{message = #basic_message{exchange_name = XName}, + confirm = false, mandatory = false}, []}, State) -> %% optimisation ?INCR_STATS([{exchange_stats, XName, 1}], publish, State), |
