Clarification.

This commit is contained in:
Simon MacMullen 2011-03-11 12:12:21 +00:00
parent 04c0f5a04f
commit 1942a59411
1 changed files with 2 additions and 2 deletions

View File

@ -620,8 +620,8 @@ channel_stats(Objs, FineSpecs, Tables) ->
%% We do this when retrieving the queue record rather than when
%% storing it since the memory use will drop *after* we find out about
%% hibernation, so to do it the normal way would be racy. This should
%% be quite cheap though.
%% hibernation, so to do it when we receive a queue stats event would
%% be fiddly and racy. This should be quite cheap though.
adjust_hibernated_memory_use(Qs) ->
Pids = [rabbit_misc:string_to_pid(pget(pid, Q)) ||
Q <- Qs, pget(idle_since, Q, not_idle) =/= not_idle],