From 557f8d18cf98608a7b1878cb738c60e93c270bdc Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 11 Nov 2025 11:47:50 +0800 Subject: perf(cache): shorten cacheTTL to 3 days --- brewcheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brewcheck.go b/brewcheck.go index 8223aff..51d8e17 100644 --- a/brewcheck.go +++ b/brewcheck.go @@ -11,7 +11,7 @@ import ( "github.com/fatih/color" ) -const cacheTTL = 7 * 24 * time.Hour +const cacheTTL = 3 * 24 * time.Hour // 3 days func EnsureBrewAvailable() { cacheFile := filepath.Join(xdg.CacheHome, "wthis", "brew-checked") -- cgit v1.2.3