Commit b8003aa0 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Calculate build coverage asynchronously

parent 3726dc4b
......@@ -82,9 +82,8 @@ module Ci
end
after_transition any => [:success, :failed, :canceled] do |build|
build.update_coverage
build.run_after_commit do
BuildCoverageWorker.perform_async(id)
BuildHooksWorker.perform_async(id)
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