diff options
author | dosire <sytses@gmail.com> | 2014-05-28 15:08:27 +0200 |
---|---|---|
committer | dosire <sytses@gmail.com> | 2014-05-28 15:08:27 +0200 |
commit | 7795a4b90c81de76e128227b7773ca6eb1abc80e (patch) | |
tree | b86592b269cfcf1f35339c2a9ab2529e77c9493a /app/models/commit.rb | |
parent | c183019ce15218d54a5daaf61dfb5ef58f47f592 (diff) | |
download | gitlab-ce-7795a4b90c81de76e128227b7773ca6eb1abc80e.tar.gz |
The hard limit should be a lot more liberal, 10x seems reasonable.
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 4 |
1 files 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) |