From e26d9338ddc5f0f0440947e60013a57b82043783 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 30 Oct 2012 17:01:57 -0400 Subject: [PATCH] Refactor GC period into an integer for simpler translations --- distrib/gitblit.properties | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 4343229..411699f 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -110,6 +110,8 @@ # Enable JGit-based garbage collection. (!!EXPERIMENTAL!!) # +# USE AT YOUR OWN RISK! +# # If enabled, the garbage collection executor scans all repositories once a day # at the hour of your choosing. The GC executor will take each repository "offline", # one-at-a-time, to check if the repository satisfies it's GC trigger requirements. @@ -120,8 +122,6 @@ # Gitblit's GC Executor MAY NOT PLAY NICE with the other Git kids on the block, # especially on Windows systems, so if you are using other tools please coordinate # their usage with your GC Executor schedule or do not use this feature. -# -# Use this feature at your own risk! # # The GC algorithm complex and the JGit team advises caution when using their # young implementation of GC. @@ -148,8 +148,8 @@ # SINCE 1.2.0 git.defaultGarbageCollectionThreshold = 500k -# The default period between GCs for a repository. If the total filesize of the -# loose object exceeds *git.garbageCollectionThreshold* or the repository's +# The default period, in days, between GCs for a repository. If the total filesize +# of the loose object exceeds *git.garbageCollectionThreshold* or the repository's # custom threshold, this period will be short-circuited. # # e.g. if a repository collects 100KB of loose objects every day with a 500KB @@ -167,7 +167,7 @@ # The minimum value is 1 day since the GC Executor only runs once a day. # # SINCE 1.2.0 -git.defaultGarbageCollectionPeriod = 7 days +git.defaultGarbageCollectionPeriod = 7 # Number of bytes of a pack file to load into memory in a single read operation. # This is the "page size" of the JGit buffer cache, used for all pack access -- Gitblit v1.9.1