• Matija Čupić's avatar
    Optimize #latest_successful_for_refs method · 44fe828e
    Matija Čupić authored
    Optimizes Ci::Pipeline#latest_successful_for_refs to load just the
    needed branches in two queries. Instead of loading all branches in one
    query then filtering the needed branches in memory.
    
    Changelog: fixed
    44fe828e
pipeline.rb 42.9 KB