From 8ad255856e9bb2b538f68410816a66db51217bc3 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 14 May 2024 16:07:43 +1000 Subject: [PATCH] Extend cache TTL now external caches are supported --- src/mpd_now_playable/mpd/artwork_cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mpd_now_playable/mpd/artwork_cache.py b/src/mpd_now_playable/mpd/artwork_cache.py index 9aebf57..298effe 100644 --- a/src/mpd_now_playable/mpd/artwork_cache.py +++ b/src/mpd_now_playable/mpd/artwork_cache.py @@ -6,7 +6,7 @@ from ..async_tools import run_background_task from ..cache import Cache, make_cache from .types import CurrentSongResponse, MpdStateHandler -CACHE_TTL = 60 * 10 # ten minutes +CACHE_TTL = 60 * 60 # seconds = 1 hour class ArtCacheEntry(TypedDict):