a2733bc frontend: avoid additional query for main_dir.full_name

Authored and Committed by frostyx 2 years ago
    frontend: avoid additional query for main_dir.full_name
    
    AFAIK in all cases, full name of the main dir should be simply full
    name of the project itself.
    
    This change improves performance of listing builds via APIv3 and
    reduces time for listing all builds from the rubygems project from
    ~13min to ~6min.
    
        
  • Zuul
    success
    Jobs result is success
    2 years ago
  • Copr build
    pending (50%)
    #2863301
    2 years ago
  • Copr build
    success (100%)
    #2863302
    2 years ago
  • Copr build
    success (100%)
    #2864492
    2 years ago
  • Copr build
    success (100%)
    #2864493
    2 years ago