Commit f12167ef authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Increase the amount of commits per page to 20

parent 72812251
......@@ -26,7 +26,9 @@ class Projects::CompareController < Projects::ApplicationController
feature_category :source_code_management
COMMIT_DIFFS_PER_PAGE = 10
# Diffs may be pretty chunky, the less is better in this endpoint.
# Pagination design guides: https://design.gitlab.com/components/pagination/#behavior
COMMIT_DIFFS_PER_PAGE = 20
def index
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment