Commit 45f4153e authored by Leo Gordon's avatar Leo Gordon
Browse files

automate the re-balancing of semaphore_counts - do it when there is nothing running

parent 996cdc68
......@@ -50,6 +50,8 @@ sub schedule_workers_resync_if_necessary {
print "Scheduler: mismatch between Queen's workers and Valley's workers detected, checking for dead workers...\n";
$queen->check_for_dead_workers($valley, 1);
}
print "Scheduler: re-balancing of semaphore_counts...\n";
$queen->db->get_AnalysisJobAdaptor->balance_semaphores();
print "Scheduler: re-synchronizing the Hive...\n";
$queen->synchronize_hive($filter_analysis);
......
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