diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-14 17:48:28 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-10-14 17:48:28 +0200 |
commit | 308769f82b19a142f443fb101a01a60c2b19757f (patch) | |
tree | 2468fe5cf8232df806e358bf2c8f897236260e61 | |
parent | 5904793ad8ba88d3dfc9c973bcffd1d426db5a33 (diff) | |
download | gitlab-ce-308769f82b19a142f443fb101a01a60c2b19757f.tar.gz |
Remove unecessary lockfeature/process-pipeline-hooks-asynchronously
-rw-r--r-- | app/workers/build_finished_worker.rb | 6 |
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 |