summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <michael@rabbitmq.com>2014-07-30 20:17:07 +0400
committerMichael Klishin <michael@rabbitmq.com>2014-07-30 20:17:07 +0400
commitd568da3d307022e7972efcaea16f8a0c3e093bc7 (patch)
tree96f24427e529de9f7fddd4b525bedb164bef68b2
parent73413ba9d491b9584528a555f8ef646a14c67880 (diff)
downloadrabbitmq-server-bug26312.tar.gz
Backed out changeset 18314d722148bug26312
This will also affect rabbitmqctl, which was not intended.
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index cca70fa9..9b785303 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -1261,7 +1261,7 @@ handle_pre_hibernate(State = #q{backing_queue = BQ,
rabbit_event:if_enabled(
State, #q.stats_timer,
fun () -> emit_stats(State, [{idle_since, now()},
- {consumer_utilisation, null}]) end),
+ {consumer_utilisation, ''}]) end),
State1 = rabbit_event:stop_stats_timer(State#q{backing_queue_state = BQS3},
#q.stats_timer),
{hibernate, stop_rate_timer(State1)}.