From 7eb9828ec6a31ad372c6a1dac7fa042bcdbd6818 Mon Sep 17 00:00:00 2001 From: Yuhi Ishikura <yuhi.ishikura@gmail.com> Date: Sun, 02 Jun 2013 17:53:20 -0400 Subject: [PATCH] Improve index page strategy in PagesServlet. --- src/main/distrib/data/gitblit.properties | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index 2912bfe..0fc1780 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -834,11 +834,23 @@ web.summaryRefsCount = 5 # The number of items to show on a page before showing the first, prev, next -# pagination links. A default if 50 is used for any invalid value. +# pagination links. A default of 50 is used for any invalid value. # # SINCE 0.5.0 web.itemsPerPage = 50 +# The number of pushes to display on the overview page +# Value must exceed 0 else default of 5 is used +# +# SINCE 1.3.0 +web.overviewPushCount = 5 + +# The number of pushes to show on a push page before show the first, prev, next +# pagination links. A default of 10 is used for any invalid value. +# +# SINCE 1.3.0 +web.pushesPerPage = 10 + # Registered file extensions to ignore during Lucene indexing # # SPACE-DELIMITED -- Gitblit v1.9.1