diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-04-18 00:09:20 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-04-18 00:09:20 +0300 |
commit | cca5797f05e5611a66c19f94a24a4ce6d2ed9859 (patch) | |
tree | c6745bfd74908c8015db0856750cd15353ea7530 /app/services/ci | |
parent | 2cc78c0b03d9468e25bbf4805fe1d55e414840ff (diff) |
Temporary fix for eager loading issue in Ci::RegisterJobService
Diffstat (limited to 'app/services/ci')
-rw-r--r-- | app/services/ci/register_job_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/register_job_service.rb b/app/services/ci/register_job_service.rb index e09b445636f..113dcdd7201 100644 --- a/app/services/ci/register_job_service.rb +++ b/app/services/ci/register_job_service.rb @@ -30,7 +30,7 @@ module Ci end end - builds.find do |build| + builds.auto_include(false).find do |build| next unless runner.can_pick?(build) begin |