summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index b2274fe877..f270f2cc66 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -1172,6 +1172,7 @@ handle_method(#'basic.get'{queue = QueueNameBin, no_ack = NoAck},
State1 = monitor_delivering_queue(NoAck, QPid, QName, State),
{noreply, record_sent(none, not(NoAck), Msg, State1)};
empty ->
+ ?INCR_STATS(queue_stats, QueueName, 1, get_empty, State),
{reply, #'basic.get_empty'{}, State}
end;