From 321a86acf858915e0dc9fd4bb0f505c26d7c9120 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Thu, 13 Aug 2026 07:23:22 +0000 Subject: [PATCH] 5 min cache for auth checks to reduce spam. --- cista/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cista/auth.py b/cista/auth.py index b0faa12..572c6d6 100644 --- a/cista/auth.py +++ b/cista/auth.py @@ -226,7 +226,7 @@ def hydrate_request_auth_context(request, *, source: str) -> None: _AUTH_REALM = "cista" -_AUTH_CACHE_TTL = 10 +_AUTH_CACHE_TTL = 300 _auth_cache: dict[str, tuple[float, config.User]] = {} _WINDOWS_UA_HINTS = ( "windows",