summaryrefslogtreecommitdiff
path: root/src/rabbit_event.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_event.erl')
-rw-r--r--src/rabbit_event.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_event.erl b/src/rabbit_event.erl
index 3ef02517..ff323a21 100644
--- a/src/rabbit_event.erl
+++ b/src/rabbit_event.erl
@@ -90,18 +90,18 @@ start_link() ->
%% On startup:
%% Timer = init_stats_timer()
%% notify(created event)
-%% maybe(internal_emit_stats) - so we immediately send something
+%% if_enabled(internal_emit_stats) - so we immediately send something
%%
%% On wakeup:
%% ensure_stats_timer(Timer, emit_stats)
%% (Note we can't emit stats immediately, the timer may have fired 1ms ago.)
%%
%% emit_stats:
-%% internal_emit_stats
+%% if_enabled(internal_emit_stats)
%% reset_stats_timer(Timer) - just bookkeeping
%%
%% Pre-hibernation:
-%% internal_emit_stats
+%% if_enabled(internal_emit_stats)
%% stop_stats_timer(Timer)
%%
%% internal_emit_stats: