summaryrefslogtreecommitdiff
path: root/src/pmon.erl
diff options
context:
space:
mode:
authorMichael Klishin <michael@rabbitmq.com>2015-02-03 12:56:17 +0300
committerMichael Klishin <michael@rabbitmq.com>2015-02-03 12:56:17 +0300
commit2c5eaa3f5628c3cddad321b5ceb5e7434d420979 (patch)
tree934ea0c5a867f747b776488ec469e4bb2133436d /src/pmon.erl
parent77b938552c912857fd88cc3aee50405765cff7b6 (diff)
downloadrabbitmq-server-git-2c5eaa3f5628c3cddad321b5ceb5e7434d420979.tar.gz
Corrections per feedback from Matthias
Diffstat (limited to 'src/pmon.erl')
-rw-r--r--src/pmon.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pmon.erl b/src/pmon.erl
index e482429ef4..7981742284 100644
--- a/src/pmon.erl
+++ b/src/pmon.erl
@@ -19,11 +19,12 @@
%% Process Monitor
%% ================
%%
-%% This module provides a way to monitor processes.
+%% This module monitors processes so that every process has at most
+%% 1 monitor.
%% Processes monitored can be dynamically added and removed.
%%
-%% Unlike erlang:[de]monitor* functions, this module keeps a dictionary
-%% of monitored processes and provides basic querying capability.
+%% Unlike erlang:[de]monitor* functions, this module
+%% provides basic querying capability and avoids contacting down nodes.
%%
%% It is used to monitor nodes, queue mirrors, and by
%% the queue collector, among other things.