Commit 7795a4b90c81de76e128227b7773ca6eb1abc80e

Authored by dosire
1 parent c183019c

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)