fix: update uguu cache TTL to 2.5 hours and reorder config options

This commit is contained in:
deluan
2026-03-20 20:18:23 -04:00
parent 6ed2c2ce45
commit 4f097294fa
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func headCoverArt(url string) string {
const (
caaCacheTTLHit int64 = 24 * 60 * 60 // 24 hours for resolved CAA artwork
caaCacheTTLMiss int64 = 4 * 60 * 60 // 4 hours for CAA misses
uguuCacheTTL int64 = 9000 // ~2.5 hours for uguu.se uploads
uguuCacheTTL int64 = 150 * 60 // 2.5 hours for uguu.se uploads
)
// getImageViaCoverArt checks the Cover Art Archive for album artwork.