diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-05 16:23:49 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-01-05 16:23:49 +0300 |
commit | b5dfd03efc1769240b20f0e53ff92e2b2319cbc7 (patch) | |
tree | 6cc5a20804c6d620202fdc5c0e2ec47408a6b56f /app/controllers/projects/pipelines_controller.rb | |
parent | ae5dc479e7fdabe61900b2763500cc6c6551e2c7 (diff) |
Include resources to speed up pipelines serializer
Diffstat (limited to 'app/controllers/projects/pipelines_controller.rb')
-rw-r--r-- | app/controllers/projects/pipelines_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/pipelines_controller.rb b/app/controllers/projects/pipelines_controller.rb index b26f3edeab5..84451257b98 100644 --- a/app/controllers/projects/pipelines_controller.rb +++ b/app/controllers/projects/pipelines_controller.rb @@ -12,7 +12,6 @@ class Projects::PipelinesController < Projects::ApplicationController .execute(scope: @scope) .page(params[:page]) .per(30) - .includes(project: :namespace) @running_or_pending_count = PipelinesFinder .new(project).execute(scope: 'running').count |