diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-03-20 16:35:08 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-03-20 16:35:08 -0400 |
commit | 0f63a3f6a7398321bd799c7b778e0e721c811287 (patch) | |
tree | d617ad0aa9e361e8bb579941ee22a7149cf1c5ed /man/b4.5.rst | |
parent | 4cad662b69be9fa62460a342e2fd1aa87a7bd548 (diff) | |
download | b4-0f63a3f6a7398321bd799c7b778e0e721c811287.tar.gz |
Add caching layer
Many lore.kernel.org operations can be repeated within quick succession
of each-other (e.g. someone reruns a query with -t). This commit adds a
caching layer that keeps lookups in local cache for 10 minutes
(default). It can be made longer or shorter by editing the
'cache-expire' setting, or running "b4 am" with -C,--no-cache.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'man/b4.5.rst')
-rw-r--r-- | man/b4.5.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/man/b4.5.rst b/man/b4.5.rst index 161e665..1af8add 100644 --- a/man/b4.5.rst +++ b/man/b4.5.rst @@ -172,6 +172,10 @@ Default configuration, with explanations:: # git-config for gpg.program; and if that's not set, # we'll use "gpg" and hope for the best gpgbin = None + # + # How long to keep downloaded threads in cache (minutes)? + cache-expire = 10 + SUPPORT ------- |