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.

  1. Stop Stash.
  2. 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.
     

    Additional step for Stash 1.3.0 or older

    Modify $STASH_INSTALL/atlassian-stash/static/feature/changeset/difftree/difftree.js to increase the following value:

    var CHANGESET_LIMIT = 1000;


  3. Restart Stash.
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.