updated TODO
This commit is contained in:
parent
85f279832b
commit
40874d92d0
27
TODO
27
TODO
@ -1,21 +1,16 @@
|
|||||||
Master
|
IO selection configuration for master
|
||||||
boot up workers
|
- allow pipe setup
|
||||||
listen for worker messages
|
- allow ssh setup
|
||||||
add worker messages to message queue
|
|
||||||
process message queue
|
|
||||||
"reply" to a message allows sending a message back down to worker
|
|
||||||
|
|
||||||
When worker asks for file but no files left, send shutdown message to worker
|
YML configuration
|
||||||
when worker connection breaks, end thread
|
|
||||||
wait on all threads
|
|
||||||
when all threads are done, all workers must be done
|
|
||||||
|
|
||||||
|
v0.6.0
|
||||||
|
|
||||||
|
multitest backwards compatible
|
||||||
|
|
||||||
when a runner asks for file but master responds with shutdown, mark self
|
v0.7.0
|
||||||
as terminated, shut down runners. Any runner that asks for a file is
|
|
||||||
auto-terminated
|
???
|
||||||
wait for runner threads to finish
|
|
||||||
then exit, breaking master connection
|
v1.0.0
|
||||||
|
|
||||||
Test individual messages? Ensure they handle the right method? May not be worth it.
|
|
||||||
|
@ -82,8 +82,6 @@ module Hydra #:nodoc:
|
|||||||
$stdout.write "WORKER| Processing Messages\n" if @verbose
|
$stdout.write "WORKER| Processing Messages\n" if @verbose
|
||||||
@running = true
|
@running = true
|
||||||
|
|
||||||
# TODO: catch this exception, return a dying message to the master
|
|
||||||
# then shutdown
|
|
||||||
Thread.abort_on_exception = true
|
Thread.abort_on_exception = true
|
||||||
|
|
||||||
process_messages_from_master
|
process_messages_from_master
|
||||||
|
Loading…
Reference in New Issue
Block a user