Pull request is too large to render
症状
The following message appears when viewing a pull request:
This pull request is too large to render. Showing the first 1000 files.
原因
Stash is coded to show the first 1000 files by default. Showing more than 1000 files will impact the performance of the browser, due to the way Stash renders the file tree. This is particularly noticeable in older browsers and Internet Explorer. There is also a smaller impact on the server, due to processing the output of the Git command required to fetch the files, but is less noticeable with moderately larger values.
ソリューション
Please note that increasing the limit is not recommended and will have a performance impact.
- Stop Stash.
Add the following property into stash-config.properties to increase the limit to 2000 files (create one if it doesn't exist):
page.max.changes=2000
See Stash config properties for more information.
- Restart Stash.