Commit 308769f8 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Remove unecessary lock

parent 5904793a
......@@ -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
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