summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_memory_monitor.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_memory_monitor.erl b/src/rabbit_memory_monitor.erl
index 8266845fb2..5f39f7a96f 100644
--- a/src/rabbit_memory_monitor.erl
+++ b/src/rabbit_memory_monitor.erl
@@ -144,8 +144,7 @@ handle_call({report_queue_duration, Pid, QueueDuration}, From,
queue_durations = Durations,
desired_duration = SendDuration}) ->
- [Proc = #process{reported = PrevQueueDuration, sent = PrevSendDuration}] =
- ets:lookup(Durations, Pid),
+ [Proc = #process{reported=PrevQueueDuration}] = ets:lookup(Durations, Pid),
gen_server2:reply(From, SendDuration),