diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-08-18 14:43:09 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-08-18 14:43:09 +0100 |
commit | df1f62dff03f0dd3cdda09e79fe9428407db2dc3 (patch) | |
tree | c1682bfe7bb28edbf5e7d2a51ff4d995df40abb8 | |
parent | 24eda714caf64fb799c5a124c448c19ed015dad2 (diff) | |
download | rabbitmq-server-bug24194.tar.gz |
'stat' needs to be higher priority toobug24194
Since a typical consumer app will do a queue.declare "assertion"
before basic.consume.
The down side to this is that a queue.declare can now overtake a
'publish' and thus report incorrect message counts.
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index 30ab0457..e5038efe 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -822,6 +822,7 @@ prioritise_call(Msg, _From, _State) -> consumers -> 9; {basic_consume, _, _, _, _, _, _} -> 7; {basic_cancel, _, _, _} -> 7; + stat -> 7; _ -> 0 end. |