d05f1d0 Only consider the most recently active branches for new PR

Authored and Committed by pingou 4 years ago
    Only consider the most recently active branches for new PR
    
    Instead of considering all the branches in the git repository when we
    are looking for the branches available to open new PRs from, we are
    now considering only the 8 latest active branches. This should
    optimize the "New PR" drop-down button in the UI quite significantly in
    large repositories.
    
    Fixes https://pagure.io/pagure/issue/4587
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+36 -0
file modified
+9 -2