Clarify setup of change cache in documentation

https://groups.google.com/d/topic/repo-discuss/BTImKTcbXKw/discussion

Change-Id: Ifae451b75b3bc655cfd59e6e0e2d16a702bf659e
This commit is contained in:
Gustaf Lundh
2013-04-24 17:25:39 +02:00
parent 23cf15deeb
commit 356a7a143b

View File

@@ -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.