summaryrefslogtreecommitdiff
path: root/sample.conf
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2015-01-12 07:23:15 +0100
committerAlberto Bertogli <albertito@blitiri.com.ar>2015-01-12 10:00:18 +0100
commitbb9bad89d17ed584f52015ae6db6398889d23a81 (patch)
tree4442ab43d6001289b3a5f94775378553803eeb6f /sample.conf
parent56fcfd0278377eb6f3b0318b1f3c0a9e6abf7895 (diff)
downloadgit-arr-fork-bb9bad89d17ed584f52015ae6db6398889d23a81.zip
git-arr: increase default 'max_pages' value
The 'max_pages' default value of 5 is quite low. Coupled with 'commits_per_page' default 50, this allows for only 250 commits, which is likely unsuitable for even relatively small projects. Options are to remove the cap altogether or to raise the default limit. At this time, choose the latter, which should be friendlier to larger projects, in general, while still guarding against run-away storage space consumption. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
Diffstat (limited to 'sample.conf')
-rw-r--r--sample.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample.conf b/sample.conf
index f5e950a..fb8bbdd 100644
--- a/sample.conf
+++ b/sample.conf
@@ -29,8 +29,8 @@ path = /srv/git/repo/
# Maximum number of per-branch pages for static generation (optional).
# When generating static html, this is the maximum number of pages we will
# generate for each branch's commit listings. Zero (0) means unlimited.
-# Default: 5
-#max_pages = 5
+# Default: 250
+#max_pages = 250
# Project website (optional).
# URL to the project's website. %(name)s will be replaced with the current