From 0f63a3f6a7398321bd799c7b778e0e721c811287 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 20 Mar 2020 16:35:08 -0400 Subject: 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 --- man/b4.5.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'man/b4.5.rst') 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 ------- -- cgit v1.2.3