diff options
author | Drew Blessing <drew@gitlab.com> | 2017-11-10 23:39:00 +0300 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2017-11-15 17:28:33 +0300 |
commit | 03b1bcbb686f8e56fe6c6303adacdc01c5403790 (patch) | |
tree | 45e21665a23e6ce6ce616f91b1ea5901dcbccc48 /changelogs | |
parent | a4072db0198896242886d22c644ed91c1016aa8d (diff) |
Truncate tree to max 1,000 items and display notice to users
Rendering ten thousands of tree items consumes a lot of server
time and can cause timeouts in extreme cases. Realistically,
displaying more than 1,000 files is probably not useful so
truncate and show the user a notice instead. 'Find files' can be
used to locate specific files beyond the 1,000 limit.
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/tree_item_limit.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/tree_item_limit.yml b/changelogs/unreleased/tree_item_limit.yml new file mode 100644 index 00000000000..d95c5776075 --- /dev/null +++ b/changelogs/unreleased/tree_item_limit.yml @@ -0,0 +1,5 @@ +--- +title: Truncate tree to max 1,000 items and display notice to users +merge_request: +author: +type: performance |