• Furkan Ayhan's avatar
    Eliminate N+1 queries for pipeline GraphQL endpoint · cec7261f
    Furkan Ayhan authored
    The 'metadata' relation is the most common N+1 query.
    The 'downstream_pipeline' relation is for bridge jobs, not so common.
    
    In this commit, the structure of preloading is also changed.
    
    Changelog: performance
    cec7261f
pipeline.rb 42.6 KB