• Oswaldo Ferreira's avatar
    Improve the performance for MR discussions load · 71a1a017
    Oswaldo Ferreira authored
    It considerably improves the query for preloading MR
    discussion diffs for:
    
    1. MR diff comments (made at Diffs tab; presented at the main MR page)
    2. Comments on commits being listed at the MR
    
    Additionally, it also prevents a second similar query that was
    unnecessarily being made.
    71a1a017
file_collection_spec.rb 2.81 KB