diff options
Diffstat (limited to 'Documentation/cmd-flush-caches.txt')
-rw-r--r-- | Documentation/cmd-flush-caches.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Documentation/cmd-flush-caches.txt b/Documentation/cmd-flush-caches.txt index 9ba4808a1d..55d9083178 100644 --- a/Documentation/cmd-flush-caches.txt +++ b/Documentation/cmd-flush-caches.txt @@ -1,7 +1,7 @@ = gerrit flush-caches == NAME -gerrit flush-caches - Flush some/all server caches from memory +gerrit flush-caches - Flush some/all server caches from memory. == SYNOPSIS [verse] @@ -58,40 +58,40 @@ This command is intended to be used in scripts. List caches available for flushing: ---- - $ ssh -p 29418 review.example.com gerrit flush-caches --list - accounts - diff - groups - ldap_groups - openid - projects - sshkeys - web_sessions +$ ssh -p 29418 review.example.com gerrit flush-caches --list +accounts +diff +groups +ldap_groups +openid +projects +sshkeys +web_sessions ---- Flush all caches known to the server, forcing them to recompute: ---- - $ ssh -p 29418 review.example.com gerrit flush-caches --all +$ ssh -p 29418 review.example.com gerrit flush-caches --all ---- or ---- - $ ssh -p 29418 review.example.com gerrit flush-caches +$ ssh -p 29418 review.example.com gerrit flush-caches ---- Flush only the "sshkeys" cache, after manually editing an SSH key for a user: ---- - $ ssh -p 29418 review.example.com gerrit flush-caches --cache sshkeys +$ ssh -p 29418 review.example.com gerrit flush-caches --cache sshkeys ---- Flush "web_sessions", forcing all users to sign-in again: ---- - $ ssh -p 29418 review.example.com gerrit flush-caches --cache web_sessions +$ ssh -p 29418 review.example.com gerrit flush-caches --cache web_sessions ---- == SEE ALSO |