-
- Downloads
Preload number of warnings in every stage in a pipeline
This makes it possible to avoid N+1 queries when loading pipelines table.
Showing
- app/controllers/projects/pipelines_controller.rb 1 addition, 1 deletionapp/controllers/projects/pipelines_controller.rb
- app/models/ci/pipeline.rb 1 addition, 1 deletionapp/models/ci/pipeline.rb
- app/models/ci/stage.rb 12 additions, 1 deletionapp/models/ci/stage.rb
- lib/gitlab/ci/pipeline/preloader.rb 6 additions, 1 deletionlib/gitlab/ci/pipeline/preloader.rb
- spec/controllers/projects/pipelines_controller_spec.rb 24 additions, 21 deletionsspec/controllers/projects/pipelines_controller_spec.rb
Please register or sign in to comment