diff options
author | James Moger <james.moger@gitblit.com> | 2013-06-24 09:36:19 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-06-24 09:36:19 -0400 |
commit | 79dd0bddbd939c85f002f3a33b95ae84d0bf38cb (patch) | |
tree | b72b140a2af157ed878178ba7022c2eacae12a67 /src/main/distrib | |
parent | 03232453be7624bc2fc8a942e8c280353606fe8b (diff) | |
download | gitblit-79dd0bddbd939c85f002f3a33b95ae84d0bf38cb.tar.gz gitblit-79dd0bddbd939c85f002f3a33b95ae84d0bf38cb.zip |
Implemented commit cache for the dashboards, activity, and project pages
Diffstat (limited to 'src/main/distrib')
-rw-r--r-- | src/main/distrib/data/gitblit.properties | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index f38afefc..a3270e45 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -825,7 +825,21 @@ web.activityDuration = 7 #
# SPACE-DELIMITED
# SINCE 1.3.0
-web.activityDurationChoices = 7 14 28 60 90 180
+web.activityDurationChoices = 7 14 21 28
+
+# The number of days of commits to cache in memory for the dashboard, activity,
+# and project pages. A value of 0 will disable all caching and will parse commits
+# in each repository per-request. If the value > 0 these pages will try to fulfill
+# requests using the commit cache. If the request specifies a period which falls
+# outside the commit cache window, then the cache will be ignored and the request
+# will be fulfilled by brute-force parsing all relevant commits per-repository.
+#
+# Consider the values specified for *web.activityDurationChoices* when setting
+# the cache size AND consider adjusting the JVM -Xmx heap parameter appropriately.
+#
+# SINCE 1.3.0
+# RESTART REQUIRED
+web.activityCacheDays = 14
# Case-insensitive list of authors to exclude from metrics. Useful for
# eliminating bots.
|