Clone
Adam Murdoch
committed
on 21 Mar 17
Changed `Worker` interface and worker daemon protocol to better separate the data (what to run) from the behaviour (how to run it). Now, all… Show more
Changed `Worker` interface and worker daemon protocol to better separate the data (what to run) from the behaviour (how to run it). Now, all the data is included in the spec, and all the behaviour is included in the worker server implementation. Previously some of the data and behaviour also lived in the `WorkerAction` instance.

This change allows the worker server implementation, which is long running, better insight into the work to run so that it can, for example, inject long running services into the work.

Also moved the serialization of worker parameters so that it is done in the registration thread rather than the worker thread.

Show less

master + 473 more