diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-21 10:02:12 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-21 10:08:58 +0200 |
commit | 4f6bd53ce4558b3b121f1b6602c201919c8542ec (patch) | |
tree | 200ffd6f318543c733ab9e584829a7a038e94b1c /app/services/ci/process_pipeline_service.rb | |
parent | d6b090d7582736694683f64c413424fa14812bd6 (diff) | |
download | gitlab-ce-4f6bd53ce4558b3b121f1b6602c201919c8542ec.tar.gz |
Execute lock only when it makes senseimprove-async-pipeline-processing
Diffstat (limited to 'app/services/ci/process_pipeline_service.rb')
-rw-r--r-- | app/services/ci/process_pipeline_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/process_pipeline_service.rb b/app/services/ci/process_pipeline_service.rb index e7a422f9d28..3b255dcc803 100644 --- a/app/services/ci/process_pipeline_service.rb +++ b/app/services/ci/process_pipeline_service.rb @@ -15,7 +15,7 @@ module Ci process_stage(index) end - @pipeline.update_status if new_builds.flatten.any? + @pipeline.update_status new_builds.flatten.any? end |