summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustaf Lundh <gustaf.lundh@sonymobile.com>2013-04-24 17:25:39 +0200
committerGustaf Lundh <gustaf.lundh@sonymobile.com>2013-05-02 13:54:50 +0200
commit356a7a143b1d7d74fb85aa0ef4fbc0ae57d2708d (patch)
treee79c6c887f25d8c920f94d64185d4142cbd10a44
parent23cf15deeb0840e70fde66ab209cdda2432823ff (diff)
Clarify setup of change cache in documentation
https://groups.google.com/d/topic/repo-discuss/BTImKTcbXKw/discussion Change-Id: Ifae451b75b3bc655cfd59e6e0e2d16a702bf659e
-rw-r--r--Documentation/config-gerrit.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt
index 4342d617a5..96f018df28 100644
--- a/Documentation/config-gerrit.txt
+++ b/Documentation/config-gerrit.txt
@@ -504,13 +504,13 @@ the first request into the second to ensure it can complete.
cache `"changes"`::
+
-The size determines the number of projects that will have all its changes
-cached. If the cache is set to 1024, this means all changes for up to
-1024 projects can be held in the cache.
+The size of `memoryLimit` determines the number of projects for which
+all changes will be cached. If the cache is set to 1024, this means all
+changes for up to 1024 projects can be held in the cache.
+
-Default size is 0 (disabled). It is disabled by default due to the fact
-that change updates are not communicated between Gerrit servers.
-Hence this cache should be disabled in an multi-master/multi-slave setup.
+Default value is 0 (disabled). It is disabled by default due to the fact
+that change updates are not communicated between Gerrit servers. Hence
+this cache should be disabled in an multi-master/multi-slave setup.
+
The cache should be flushed whenever the database changes table is modified
outside of gerrit.