View Source Please.Nodes.PingTask (Please v0.1.0)

A task that pings the node network.

This task will ping the nodes in the network and update the state of the agent with the nodes that are reachable. The task will also update the state of the agent with the metadata of the nodes that are reachable.

The ping latency can be configured with the :latency option of the :ping key in the application configuration (in milliseconds), the default is 1500 milliseconds.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

arg is passed as the argument to Task.start_link/1 in the :start field of the spec.

For more information, see the Supervisor module, the Supervisor.child_spec/2 function and the Supervisor.child_spec/0 type.