Skip to content
Snippets Groups Projects
Commit 2a280e3c authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix [to 18f2193a] : make sure only_semaphored_jobs_to_run is reset when there are other jobs

parent eaae1c26
No related branches found
No related tags found
No related merge requests found
...@@ -635,7 +635,7 @@ sub check_nothing_to_run_but_semaphored { # make sure it is run after a recent ...@@ -635,7 +635,7 @@ sub check_nothing_to_run_but_semaphored { # make sure it is run after a recent
foreach my $analysis (@$list_of_analyses) { foreach my $analysis (@$list_of_analyses) {
my $stats = $analysis->stats; my $stats = $analysis->stats;
$only_semaphored_jobs_to_run = 1 if( $stats->total_job_count != $stats->done_job_count + $stats->failed_job_count + $stats->semaphored_job_count ); $only_semaphored_jobs_to_run = 0 if( $stats->total_job_count != $stats->done_job_count + $stats->failed_job_count + $stats->semaphored_job_count );
$total_semaphored_job_count += $stats->semaphored_job_count; $total_semaphored_job_count += $stats->semaphored_job_count;
} }
......
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