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:
@@ -504,13 +504,13 @@ the first request into the second to ensure it can complete.
|
|||||||
|
|
||||||
cache `"changes"`::
|
cache `"changes"`::
|
||||||
+
|
+
|
||||||
The size determines the number of projects that will have all its changes
|
The size of `memoryLimit` determines the number of projects for which
|
||||||
cached. If the cache is set to 1024, this means all changes for up to
|
all changes will be cached. If the cache is set to 1024, this means all
|
||||||
1024 projects can be held in the cache.
|
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
|
Default value is 0 (disabled). It is disabled by default due to the fact
|
||||||
that change updates are not communicated between Gerrit servers.
|
that change updates are not communicated between Gerrit servers. Hence
|
||||||
Hence this cache should be disabled in an multi-master/multi-slave setup.
|
this cache should be disabled in an multi-master/multi-slave setup.
|
||||||
+
|
+
|
||||||
The cache should be flushed whenever the database changes table is modified
|
The cache should be flushed whenever the database changes table is modified
|
||||||
outside of gerrit.
|
outside of gerrit.
|
||||||
|
Reference in New Issue
Block a user