Commit 02f6c938 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: correctly checking analysis_capacity (thanks Andy for reporting)

parent e781f17d
......@@ -132,7 +132,7 @@ sub schedule_workers {
$submit_capacity,
$queen_capacity,
$meadow_capacity_by_type->{$this_meadow_type},
defined($analysis->analysis_capacity) ? Bio::EnsEMBL::Hive::Limiter->new( $analysis->analysis_capacity ) : (),
defined($analysis->analysis_capacity) ? Bio::EnsEMBL::Hive::Limiter->new( $analysis->analysis_capacity - $analysis_stats->num_running_workers ) : (),
);
# negotiations:
......
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