View Source Please.Requests.AssignRequestsTask (Please v0.1.0)

A task that assigns requests around the node network based on busyness and acceptance priority of each node.

This task will run periodically and will assign requests to the nodes in the network by checking the acceptance priority of each task for each node.

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