Renamed CACHE_EXPIRATION_MINUTES #21
All checks were successful
Build on push / prepare (push) Successful in 5s
Build on push / build-redirector (push) Successful in 31s
Build on push / build-api (push) Successful in 31s
Build on push / build-web (push) Successful in 56s

This commit is contained in:
Sven Heidemann 2025-05-02 13:38:02 +02:00
parent 9e9690d323
commit a3bd62da7a

View File

@ -20,7 +20,7 @@ templates = Jinja2Templates(directory="templates")
class Cache: class Cache:
CACHING_MINUTES = Environment.get("CACHING_MINUTES", int, 5) CACHING_MINUTES = Environment.get("CACHE_EXPIRATION_MINUTES", int, 5)
# {shortUrlKey: ShortUrl} # {shortUrlKey: ShortUrl}
_cache: dict[str, dict] = {} _cache: dict[str, dict] = {}