Remove unecessary lock
This commit is contained in:
parent
5904793ad8
commit
308769f82b
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue