summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-10-14 17:48:28 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-14 17:48:28 +0200
commit308769f82b19a142f443fb101a01a60c2b19757f (patch)
tree2468fe5cf8232df806e358bf2c8f897236260e61 /app/workers
parent5904793ad8ba88d3dfc9c973bcffd1d426db5a33 (diff)
downloadgitlab-ce-308769f82b19a142f443fb101a01a60c2b19757f.tar.gz
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/build_finished_worker.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/workers/build_finished_worker.rb b/app/workers/build_finished_worker.rb
index f1267ab92fc..e7286b77ac5 100644
--- a/app/workers/build_finished_worker.rb
+++ b/app/workers/build_finished_worker.rb
@@ -3,10 +3,8 @@ class BuildFinishedWorker
def perform(build_id)
Ci::Build.find_by(id: build_id).try do |build|
- build.with_lock do
- BuildCoverageWorker.new.perform(build.id)
- BuildHooksWorker.new.perform(build.id)
- end
+ BuildCoverageWorker.new.perform(build.id)
+ BuildHooksWorker.new.perform(build.id)
end
end
end