Commit bb4ebd0b authored by Shinya Maeda's avatar Shinya Maeda

Make all workers in BuildFinishedWorker to run async and reorder

parent 522caded
...@@ -7,9 +7,9 @@ class BuildFinishedWorker ...@@ -7,9 +7,9 @@ class BuildFinishedWorker
def perform(build_id) def perform(build_id)
Ci::Build.find_by(id: build_id).try do |build| Ci::Build.find_by(id: build_id).try do |build|
BuildTraceSectionsWorker.perform_async(build.id) BuildTraceSectionsWorker.perform_async(build.id)
BuildCoverageWorker.perform_async(build.id)
BuildHooksWorker.perform_async(build.id)
CreateTraceArtifactWorker.perform_async(build.id) CreateTraceArtifactWorker.perform_async(build.id)
BuildCoverageWorker.new.perform(build.id)
BuildHooksWorker.new.perform(build.id)
end end
end 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