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 | 592cd98da49e3b5699fa2dd491a7cbabf86fae5f (patch) | |
| tree | c1682bfe7bb28edbf5e7d2a51ff4d995df40abb8 | |
| parent | e6ad12ecb0e4d44149655fe1424836c7270048c2 (diff) | |
| download | rabbitmq-server-git-592cd98da49e3b5699fa2dd491a7cbabf86fae5f.tar.gz | |
'stat' needs to be higher priority too
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 30ab045795..e5038efe39 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. |
