diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-05-07 19:29:55 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-05-07 19:29:55 +0000 |
commit | f5f097b765e6401ad379e313b4c34cd37d248930 (patch) | |
tree | d6cfd9e1be1d0b4ca55928f533124097940c6656 /lib/api/project_hooks.rb | |
parent | 415648e2555e25d30f64f4c2642cf149f6965859 (diff) | |
parent | affd049dc4427d749b97eaee37a5d54873016657 (diff) | |
download | gitlab-ce-f5f097b765e6401ad379e313b4c34cd37d248930.tar.gz |
Merge branch 'feature/handle-big-diffs' into 'master'
Improve handling of large diffs
Diffs with a large number of changed lines time out (504 HTTP error) or
generate a HTML page that's so heavy web browsers struggle with it.
https://github.com/gitlabhq/gitlabhq/pull/5014 introduced limits on
commit line count so that only a safe portion is rendered. This was
later undone by code refactoring in be5b6db8, e0eb4803 and c741fcab.
This patch re-introduces a safe limit on number of lines.
See merge request !539
Diffstat (limited to 'lib/api/project_hooks.rb')
0 files changed, 0 insertions, 0 deletions