From 7795a4b90c81de76e128227b7773ca6eb1abc80e Mon Sep 17 00:00:00 2001 From: dosire Date: Wed, 28 May 2014 15:08:27 +0200 Subject: [PATCH] The hard limit should be a lot more liberal, 10x seems reasonable. --- app/models/commit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/commit.rb b/app/models/commit.rb index c313aeb7572..81875e1be2d 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -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)