Commit d072cd15 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/ssot-diff-limits' into 'master'

Update diff_limits.md

See merge request gitlab-org/gitlab-ce!28459
parents 2d4df0aa 0daa8c12
---
type: reference
---
# Diff limits administration # Diff limits administration
You can set a maximum size for display of diff files (patches).
## Maximum diff patch size
Diff files which exceed this value will be presented as 'too large' and won't
be expandable. Instead of an expandable view, a link to the blob view will be
shown.
Patches greater than 10% of this size will be automatically collapsed, and a
link to expand the diff will be presented.
NOTE: **Note:** NOTE: **Note:**
Merge requests and branch comparison views will be affected. Merge requests and branch comparison views will be affected.
CAUTION: **Caution:** CAUTION: **Caution:**
These settings are currently under experimental state. They'll This setting is experimental. An increased maximum will increase resource
increase the resource consumption of your instance and should consumption of your instance. Keep this in mind when adjusting the maximum.
be edited mindfully.
1. Access **Admin area > Settings > General** 1. Go to **Admin area > Settings > General**.
1. Expand **Diff limits** 1. Expand **Diff limits**.
1. Enter a value for **Maximum diff patch size**, measured in bytes.
1. Click on **Save changes**.
### Maximum diff patch size <!-- ## Troubleshooting
This is the content size each diff file (patch) is allowed to reach before Include any troubleshooting steps that you can foresee. If you know beforehand what issues
it's collapsed, without the possibility of being expanded. A link redirecting one might have when setting this up, or when something is changed, or on upgrading, it's
to the blob view will be presented for the patches that surpass this limit. important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Patches surpassing 10% of this content size will be automatically collapsed, Each scenario can be a third-level heading, e.g. `### Getting error message X`.
but expandable (a link to expand the diff will be presented). If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->
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