Commit 61be99bb authored by Leo Gordon's avatar Leo Gordon
Browse files

making sure semaphores are correctly propagated through gc_dataflow and PASSED_ON state

parent a7e0f2de
......@@ -665,6 +665,10 @@ sub gc_dataflow {
$job->dataflow_output_id( $job->input_id() , $branch_name );
$job->update_status('PASSED_ON');
if(my $semaphored_job_id = $job->semaphored_job_id) {
$self->decrease_semaphore_count_for_jobid( $semaphored_job_id ); # step-unblock the semaphore
}
return 1;
}
......
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