Disable repository list caching in gitblit Per the documentation, it's probably best to disable this when repositories aren't managed by Gitblit Change-Id: Ia9267ff165cb8fac05f9cc7214fe6947a37a6472
diff --git a/src/main/resources/com/googlesource/gerrit/plugins/gitblit/reference.properties b/src/main/resources/com/googlesource/gerrit/plugins/gitblit/reference.properties index 76c59e7..88ae326 100644 --- a/src/main/resources/com/googlesource/gerrit/plugins/gitblit/reference.properties +++ b/src/main/resources/com/googlesource/gerrit/plugins/gitblit/reference.properties
@@ -12,6 +12,17 @@ # RESTART REQUIRED #git.repositoriesFolder = /Users/simone/Documents/workspace/gerritent/test/git +# Build the available repository list at startup and cache this list for reuse. +# This reduces disk io when presenting the repositories page, responding to rpcs, +# etc, but it means that Gitblit will not automatically identify repositories +# added or deleted by external tools. +# +# For this case you can use curl, wget, etc to issue an rpc request to clear the +# cache (e.g. https://localhost/rpc?req=CLEARREPOSITORYCACHE) +# +# SINCE 1.1.0 +git.cacheRepositoryList = false + # Search the repositories folder subfolders for other repositories. # Repositories MAY NOT be nested (i.e. one repository within another) # but they may be grouped together in subfolders.