Skip to content

Commit 4393c86

Browse files
committed
Update comments to reflect what we're doing
1 parent 2c9691b commit 4393c86

File tree

1 file changed

+1
-5
lines changed
  • src/Control/Distributed/Process

1 file changed

+1
-5
lines changed

src/Control/Distributed/Process/Node.hs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,11 @@ registryMonitorAgentId = MxAgentId "service.registry.monitoring"
330330

331331
-- note [registry monitoring agent]
332332
-- this agent listens for 'MxRegistered' and 'MxUnRegistered' events and tracks
333-
-- all remote 'ProcessId's that are stored in the registry.
333+
-- all labels for remote 'ProcessId's that are stored in the registry.
334334
--
335335
-- When a remote process is registered, the agent starts monitoring it until it
336336
-- is unregistered or the monitor notification arrives.
337337
--
338-
-- The agent keeps the amount of labels associated with each registered remote
339-
-- process. This is necessary so the process is unmonitored only when it has
340-
-- been unregistered from all of the labels.
341-
--
342338

343339
registryMonitorAgent :: Process ProcessId
344340
registryMonitorAgent = do

0 commit comments

Comments
 (0)