documentation: Document cache.diff_intraline
This cache was added in an earlier version of Gerrit, but was not covered in the documentation. Change-Id: Iec90f07449d50b9033c4925c1b3f372c5aea1cf7 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -288,6 +288,7 @@ Default is 1024 for most caches, except:
|
|||||||
+
|
+
|
||||||
* `"adv_bases"`: default is `4096`
|
* `"adv_bases"`: default is `4096`
|
||||||
* `"diff"`: default is `128`
|
* `"diff"`: default is `128`
|
||||||
|
* `"diff_intraline"`: default is `128`
|
||||||
|
|
||||||
[[cache.name.diskLimit]]cache.<name>.diskLimit::
|
[[cache.name.diskLimit]]cache.<name>.diskLimit::
|
||||||
+
|
+
|
||||||
@@ -357,6 +358,21 @@ Keeping entries for 90 days gives sufficient time for most changes
|
|||||||
to be submitted or abandoned before their relevant difference items
|
to be submitted or abandoned before their relevant difference items
|
||||||
expire out.
|
expire out.
|
||||||
|
|
||||||
|
cache `"diff_intraline"`::
|
||||||
|
+
|
||||||
|
Each item caches the intraline difference of one file, when compared
|
||||||
|
between two commits. Gerrit uses this cache to accelerate display of
|
||||||
|
intraline differences when viewing a file.
|
||||||
|
+
|
||||||
|
Entries in this cache are relatively large, so the memory limit
|
||||||
|
should not be set incredibly high. Administrators should try to
|
||||||
|
target cache.diff.memoryLimit to be roughly the number of changes
|
||||||
|
which their users will process in a 1 or 2 day span.
|
||||||
|
+
|
||||||
|
Keeping entries for 90 days gives sufficient time for most changes
|
||||||
|
to be submitted or abandoned before their relevant difference items
|
||||||
|
expire out.
|
||||||
|
|
||||||
cache `"groups"`::
|
cache `"groups"`::
|
||||||
+
|
+
|
||||||
Caches the basic group information from the `account_groups` table,
|
Caches the basic group information from the `account_groups` table,
|
||||||
|
Reference in New Issue
Block a user