From 3a41ff8d0cbfd0a7891697acf162f0b5800550ce Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 18:26:03 -1000 Subject: Keep a scan with a negative ttl for good "The cache" promises that a negative ttl never expires, but no age was ever below a negative cache-scan-ttl, so every request started a background rescan. --- MANUAL.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 473a6e5..1205db1 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -69,8 +69,10 @@ cache-root:: cache-scan-ttl:: Number which specifies the time-to-live, in minutes, for the result of - scanning a path for git repositories. Default value: "15". See also: - "The cache". + scanning a path for git repositories. It is read when scan-path runs, + along with "cache-size" and "cache-root", so all three must be defined + prior to scan-path to apply to the scan. Default value: "15". See also: + "scan-path", "The cache". cache-size:: The maximum number of entries in the cgit cache. When set to "0", -- cgit 2.12.1