Extend cache TTL now external caches are supported
This commit is contained in:
parent
4a2ac29d30
commit
8ad255856e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from ..async_tools import run_background_task
|
||||||
from ..cache import Cache, make_cache
|
from ..cache import Cache, make_cache
|
||||||
from .types import CurrentSongResponse, MpdStateHandler
|
from .types import CurrentSongResponse, MpdStateHandler
|
||||||
|
|
||||||
CACHE_TTL = 60 * 10 # ten minutes
|
CACHE_TTL = 60 * 60 # seconds = 1 hour
|
||||||
|
|
||||||
|
|
||||||
class ArtCacheEntry(TypedDict):
|
class ArtCacheEntry(TypedDict):
|
||||||
|
|
Loading…
Reference in a new issue