Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-29 18:11:17 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-29 18:11:17 +0400
commite6beb6090320d6756369934c5151e36429c5d5f1 (patch)
treeee307d2a0790dd211f36763f98cef5b4303b306e /app/models
parente569cf369ab9457d078c0f40dbbb7a67db4c6221 (diff)
parent7795a4b90c81de76e128227b7773ca6eb1abc80e (diff)
Merge branch 'raise-hard-limit' into 'master'
Raise hard limit
Diffstat (limited to 'app/models')
-rw-r--r--app/models/commit.rb4
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)