9f4cc2c Improve pagure's performance when render very large commit

Authored and Committed by pingou 6 years ago
    Improve pagure's performance when render very large commit
    
    The previous commit improved the situation for large diffs but for large
    commits having a lot of small diffs, this did not work. In this commit
    we are checking the size of the whole commit and then deciding whether
    to display it or not.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+18 -1
file modified
+8 -0