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

no need to check for semaphores when state is already DONE or PASSED_ON

parent 61be99bb
No related branches found
No related tags found
No related merge requests found
......@@ -569,9 +569,9 @@ sub synchronize_AnalysisStats {
}
$analysisStats->num_required_workers( $required_workers );
} elsif($status eq 'DONE' and $semaphore_count<=0) {
} elsif($status eq 'DONE') {
$done_here = $job_count;
} elsif($status eq 'PASSED_ON' and $semaphore_count<=0) {
} elsif($status eq 'PASSED_ON') {
$done_elsewhere = $job_count;
} elsif ($status eq 'FAILED') {
$analysisStats->failed_job_count($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