From a3bd62da7a8315680e40ee85bb47cd1776c0a480 Mon Sep 17 00:00:00 2001 From: edraft Date: Fri, 2 May 2025 13:38:02 +0200 Subject: [PATCH] Renamed CACHE_EXPIRATION_MINUTES #21 --- api/src/redirector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/redirector.py b/api/src/redirector.py index a0ba337..a071edd 100644 --- a/api/src/redirector.py +++ b/api/src/redirector.py @@ -20,7 +20,7 @@ templates = Jinja2Templates(directory="templates") class Cache: - CACHING_MINUTES = Environment.get("CACHING_MINUTES", int, 5) + CACHING_MINUTES = Environment.get("CACHE_EXPIRATION_MINUTES", int, 5) # {shortUrlKey: ShortUrl} _cache: dict[str, dict] = {}