Open modeswitch opened 10 years ago
For every transaction that we have, we can abstract each call from client/worker to a given json file.
todo: define what all the state parameters are
The most important things are:
I wouldn't worry about active tasks. If the system is restarted with active workers, those results can just be discarded and the tasks will be restarted.
The manager keeps track of some state (device types, jobs, etc) that should be written to disk periodically and loaded when the manager starts.