From bb1659e076d194a19d96fd36936e91d213e7d234 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Fri, 14 Aug 2026 03:47:03 +0000 Subject: [PATCH] Internal and external auth cache 5 minutes. --- cista/sso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cista/sso.py b/cista/sso.py index b02fc12..6518c84 100644 --- a/cista/sso.py +++ b/cista/sso.py @@ -68,7 +68,7 @@ async def close_client(): # Keyed by (credential hash, validation URL) so that entries for different # perms/renew flags coexist and all entries for a credential can be purged # on logout. -_VALIDATE_CACHE_TTL = 10 +_VALIDATE_CACHE_TTL = 300 _validate_cache: dict[tuple[str, str], tuple[float, dict]] = {}