Commit cc62fe8e authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'increase_diff_limit_241185' into 'master'

Increase the diff limit

See merge request gitlab-org/gitlab!50572
parents 1371e8d5 4e88ea70
...@@ -80,7 +80,7 @@ class Commit ...@@ -80,7 +80,7 @@ class Commit
def diff_hard_limit_files(project: nil) def diff_hard_limit_files(project: nil)
if Feature.enabled?(:increased_diff_limits, project) if Feature.enabled?(:increased_diff_limits, project)
2000 3000
else else
1000 1000
end end
...@@ -88,7 +88,7 @@ class Commit ...@@ -88,7 +88,7 @@ class Commit
def diff_hard_limit_lines(project: nil) def diff_hard_limit_lines(project: nil)
if Feature.enabled?(:increased_diff_limits, project) if Feature.enabled?(:increased_diff_limits, project)
75000 100000
else else
50000 50000
end end
......
...@@ -13,7 +13,7 @@ module Gitlab ...@@ -13,7 +13,7 @@ module Gitlab
def self.default_limits(project: nil) def self.default_limits(project: nil)
if Feature.enabled?(:increased_diff_limits, project) if Feature.enabled?(:increased_diff_limits, project)
{ max_files: 200, max_lines: 7500 } { max_files: 300, max_lines: 10000 }
else else
{ max_files: 100, max_lines: 5000 } { max_files: 100, max_lines: 5000 }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment