• Dmitry Gruzd's avatar
    Fix N+1 for searching commits · 470e3c9b
    Dmitry Gruzd authored
    The Ci::Pipeline data (latest_pipeline) loaded in the CommitPresenter
    causes N+1. This change fixes that by using BatchLoader
    for latest_pipeline
    470e3c9b
commit_with_pipeline.rb 1.23 KB