feat: successfully synced lyrics should never expire

This commit is contained in:
2026-03-25 10:24:56 +01:00
parent 9281df0f4c
commit 4dc4cd62b0
5 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ def _normalize_unsynced(lyrics: str) -> str:
# Maps CacheStatus to the default TTL used when storing results
_STATUS_TTL: dict[CacheStatus, int] = {
_STATUS_TTL: dict[CacheStatus, Optional[int]] = {
CacheStatus.SUCCESS_SYNCED: TTL_SYNCED,
CacheStatus.SUCCESS_UNSYNCED: TTL_UNSYNCED,
CacheStatus.NOT_FOUND: TTL_NOT_FOUND,