a99b81a frontend, cli: paginate packages list in APIv3

4 files Authored by frostyx 2 years ago, Committed by praiskup 2 years ago,
    frontend, cli: paginate packages list in APIv3
    
    Fix RHBZ 2036631
    Merges: #2030
    See #757
    
    The #757 was mainly fixed in PR#1433 and mainly PR#1914 and reduced
    from 45 minutes on the @rubygems/rubygems project to ~2 minutes. The
    last issue is that request isn't paginated and returns everything at
    once, therefore there isn't any CLI output for minutes and that it
    timeouts in production (because apache timeouts after 60s by
    default). This PR fixes it.
    
    The speed of CLI command using --with-latest-succeeded-build remains
    the same (2 minutes for @rubygems/rubygems) but the speed of
    --with-latest-build is now twice as fast (1 minute for
    @rubygems/rubygems).
    
        
file modified
+26 -8
file modified
+3 -1