diff options
author | Shawn O. Pearce <sop@google.com> | 2011-04-11 23:40:06 -0400 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2011-04-11 23:40:06 -0400 |
commit | f0cfe5365079fbca37ad326b7ebc9f3181ef6182 (patch) | |
tree | 51545570f946e4b63144f601486dabec00530103 | |
parent | 463427a37105807e9522d081b5a182adacc7aba5 (diff) |
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>
-rw-r--r-- | Documentation/config-gerrit.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt index bebce29de2..11bba6e93a 100644 --- a/Documentation/config-gerrit.txt +++ b/Documentation/config-gerrit.txt @@ -288,6 +288,7 @@ Default is 1024 for most caches, except: + * `"adv_bases"`: default is `4096` * `"diff"`: default is `128` +* `"diff_intraline"`: default is `128` [[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 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"`:: + Caches the basic group information from the `account_groups` table, |