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

A task that sync the node list across the network.

This task will sync the nodes in the network and update the state of the agent with the nodes that are reachable.

The sync latency can be configured with the :latency option of the :sync key in the application configuration (in milliseconds), the default is 3000 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.