Files
gitlabhq/app/views/projects
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
..
2016-02-22 14:09:13 +00:00
2016-03-08 18:19:40 +01:00
2016-03-03 18:38:44 +01:00
2016-03-03 13:09:58 +01:00
2015-11-18 12:02:09 +01:00
2016-03-04 13:24:24 -05:00
2016-03-06 23:07:19 -05:00
2015-12-11 18:02:10 +01:00
2013-12-31 16:34:14 +02:00
2015-09-15 11:02:37 +02:00
2016-01-13 14:51:07 -05:00
2016-02-04 13:03:41 -05:00
2015-02-14 11:09:23 -07:00