Renamed CACHE_EXPIRATION_MINUTES #21
This commit is contained in:
parent
9e9690d323
commit
a3bd62da7a
@ -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] = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user