summaryrefslogtreecommitdiff
path: root/app/services/ci/process_pipeline_service.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-10-21 10:02:12 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-21 10:08:58 +0200
commit4f6bd53ce4558b3b121f1b6602c201919c8542ec (patch)
tree200ffd6f318543c733ab9e584829a7a038e94b1c /app/services/ci/process_pipeline_service.rb
parentd6b090d7582736694683f64c413424fa14812bd6 (diff)
downloadgitlab-ce-improve-async-pipeline-processing.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.rb2
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