my$queen_capacity_limiter=Bio::EnsEMBL::Hive::Limiter->new('Total reciprocal capacity of the Hive',1.0-$queen->db->get_RoleAdaptor->get_hive_current_load());
# if this analysis doesn't require any extra workers - just skip it:
nextif($extra_workers_this_analysis<=0);
if($extra_workers_this_analysis<=0){
push@log_buffer,"Analysis '$logic_name' doesn't require extra workers, skipping it.";
next;
}
$total_extra_workers_required+=$extra_workers_this_analysis;# also keep the total number required so far (if nothing required we may need a resync later)
push@log_buffer,sprintf("Before checking the Valley for pending jobs, Scheduler allocated $extra_workers_this_analysis x $this_meadow_type:$this_rc_name extra workers for '%s' [%.4f hive_load remaining]\n",
$analysis->logic_name,
$logic_name,
$queen_capacity_limiter->available_capacity,
);
}
...
...
@@ -222,7 +246,7 @@ sub schedule_workers {
}else{
push@log_buffer,"Scheduler could not find any suitable analyses to start with";
push@log_buffer,"Scheduler could not find any suitable analyses to start with.";