Internal interfaces - meetings/gearsloth GitHub Wiki
Runner <-> Controller
Runner calls Controller through Gearman with a (UTF-8 encoded) JSON payload consisting of the task object.
Example:
{
id: "466",
at: "2014-05-26T14:14:42.019Z",
controller: "try-once",
func_name: "cache-populate",
payload: ...
}
Controller <-> Ejector
Controller calls an Ejector through Gearman with a (UTF-8 encoded) JSON payload consisting of just one field, id
. The Controller should not alter the ID.
Example:
{ id: "346299" }