gitlab-org--gitlab-foss/app/views/projects/commits
Jacob Vosmaer 5e46662798 Merge branch 'commit-limits' into 'master'
Commit limits

Prevent timeouts when creating/viewing Merge Requests with many
commits. Also, reduce the number of commits shown in the UI from 500
to 100.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14031

This MR avoids Unicorn timeouts in some places and takes 4.5 seconds
off load times in others, when manually testing with a 4500-commit
compare/MR in the linux repo. It does not limit the number of Commit
objects instantiated in memory, just the amount of HTML generated. It
seems that having 4500 commits objects is not a problem in itself. If
it ever becomes one we could do something for Commit objects like we
did for Diff (introduce a CommitCollection or something).

See merge request !3095
2016-03-09 16:39:07 +00:00
..
_commit.html.haml Replace strong by span for .item-title elements 2016-01-15 15:46:01 +01:00
_commit_list.html.haml Prevent performance issues 2016-03-09 12:00:17 +01:00
_commits.html.haml Prevent performance issues 2016-03-09 12:00:17 +01:00
_head.html.haml Cache & flush tag/branch counts 2016-03-08 18:19:40 +01:00
_header_title.html.haml Move project header title definition to view in question. 2015-09-17 12:16:24 +02:00
_inline_commit.html.haml Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
show.atom.builder Use xmlschema where even more appropriate! 2016-01-07 20:01:08 -05:00
show.html.haml Change MR link to "View Open Merge Request" 2016-02-10 10:47:59 -02:00