The hard limit should be a lot more liberal, 10x seems reasonable.

This commit is contained in:
dosire 2014-05-28 15:08:27 +02:00
parent c183019ce1
commit 7795a4b90c
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ class Commit
DIFF_SAFE_FILES = 100
DIFF_SAFE_LINES = 5000
# Commits above this size will not be rendered in HTML
DIFF_HARD_LIMIT_FILES = 500
DIFF_HARD_LIMIT_LINES = 10000
DIFF_HARD_LIMIT_FILES = 1000
DIFF_HARD_LIMIT_LINES = 50000
class << self
def decorate(commits)