Commit 657a0ec1 authored by Jessica Severin's avatar Jessica Severin
Browse files

changed -dead check all outstanding workers (0 minutes overdue)

use when one knows all the workers are done running, so that any worker
not registered properly is assumed to be a fatality.
parent 27403dda
......@@ -179,7 +179,7 @@ sub check_for_dead_workers {
my $host = hostname;
my $overdueWorkers = $queen->fetch_overdue_workers(5*60); #overdue by 5 minutes
my $overdueWorkers = $queen->fetch_overdue_workers(0); #0 minutes means check all outstanding workers
print(scalar(@{$overdueWorkers}), " overdue workers\n");
foreach my $worker (@{$overdueWorkers}) {
printf("%10d %20s analysis_id=%d\n", $worker->hive_id,$worker->host, $worker->analysis->dbID);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment