summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/cmd-ls-user-refs.txt6
-rw-r--r--Documentation/config-gerrit.txt12
2 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/cmd-ls-user-refs.txt b/Documentation/cmd-ls-user-refs.txt
index c0e072d268..25a99d1205 100644
--- a/Documentation/cmd-ls-user-refs.txt
+++ b/Documentation/cmd-ls-user-refs.txt
@@ -8,7 +8,7 @@ gerrit ls-user-refs - List refs visible to a specific user
SYNOPSIS
--------
[verse]
-'ssh' -p <port> <host> 'gerrit ls-user-ref'
+'ssh' -p <port> <host> 'gerrit ls-user-refs'
[--project PROJECT> | -p <PROJECT>]
[--user <USER> | -u <USER>]
[--only-refs-heads]
@@ -31,11 +31,11 @@ OPTIONS
-------
--project::
-p::
- Name of the project for which the refs should be listed.
+ Required; Name of the project for which the refs should be listed.
--user::
-u::
- User for which the visible refs should be listed. Gerrit
+ Required; User for which the visible refs should be listed. Gerrit
will query the database to find matching users, so the
full identity/name does not need to be specified.
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.