Merge branch '45473-temporary-fix-for-ci-register-jobs-service' into 'master'

Resolve "Using goldiloader results in Ci::RegisterJobService#execute spending a lot of time eager loading a lot of associations"

See merge request gitlab-org/gitlab-ce!18439
parents 5db76a3b cca5797f
......@@ -33,7 +33,7 @@ module Ci
end
end
builds.find do |build|
builds.auto_include(false).find do |build|
next unless runner.can_pick?(build)
begin
......
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