Commit 7795a4b90c81de76e128227b7773ca6eb1abc80e
1 parent
c183019c
Exists in
spb-stable
and in
2 other branches
The hard limit should be a lot more liberal, 10x seems reasonable.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/models/commit.rb
@@ -13,8 +13,8 @@ class Commit | @@ -13,8 +13,8 @@ class Commit | ||
13 | DIFF_SAFE_FILES = 100 | 13 | DIFF_SAFE_FILES = 100 |
14 | DIFF_SAFE_LINES = 5000 | 14 | DIFF_SAFE_LINES = 5000 |
15 | # Commits above this size will not be rendered in HTML | 15 | # Commits above this size will not be rendered in HTML |
16 | - DIFF_HARD_LIMIT_FILES = 500 | ||
17 | - DIFF_HARD_LIMIT_LINES = 10000 | 16 | + DIFF_HARD_LIMIT_FILES = 1000 |
17 | + DIFF_HARD_LIMIT_LINES = 50000 | ||
18 | 18 | ||
19 | class << self | 19 | class << self |
20 | def decorate(commits) | 20 | def decorate(commits) |