Closed ekmartin closed 6 years ago
Looks good to me! :+1:
OOI, what happens if set_local_workers()
isn't called? The controller presumably waits for remote workers to connect?
At the moment it panics, since nworkers
is 0. I tried setting nworkers
to 2 first, but I realized that nothing starts workers by itself, which means it waits for remote workers like you said.
EDIT: https://github.com/mit-pdos/distributary/blob/master/src/controller/mod.rs#L484
That assert
should probably be given a description saying that there have to either be local or remote workers.
Also adds back logging - not sure if this was removed intentionally, but seems useful to me at least?