File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/Control/Distributed/Process Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import qualified Data.Map as Map
31
31
, delete
32
32
, toList
33
33
, fromList
34
- , filter
35
34
, insert
36
35
, lookup
37
36
, partition
@@ -193,7 +192,6 @@ import Control.Distributed.Process.Management
193
192
, liftMX
194
193
, mxUpdateLocal
195
194
, mxGetLocal
196
- , mxSetLocal
197
195
, mxReady
198
196
, MxEvent (.. )
199
197
, MxAgentId (.. )
@@ -325,9 +323,6 @@ startDefaultTracer node' = do
325
323
326
324
-- TODO: we need a better mechanism for defining and registering services
327
325
328
- registryMonitorAgentId :: MxAgentId
329
- registryMonitorAgentId = MxAgentId " service.registry.monitoring"
330
-
331
326
{- note [registry monitoring agent]
332
327
This agent listens for 'MxRegistered' and 'MxUnRegistered' events and tracks
333
328
all labels for remote 'ProcessId's that are stored in the registry.
@@ -362,6 +357,9 @@ registryMonitorAgent = do
362
357
-- The framework simply discards any input you don't have a handler for.
363
358
-- See Management.hs `runAgent` for details.
364
359
]
360
+ where
361
+ registryMonitorAgentId :: MxAgentId
362
+ registryMonitorAgentId = MxAgentId " service.registry.monitoring"
365
363
366
364
-- | Start and register the service processes on a node
367
365
startServiceProcesses :: LocalNode -> IO ()
You can’t perform that action at this time.
0 commit comments