feat: add producer data types and caching

This commit is contained in:
2026-05-25 17:59:11 +02:00
parent f4a9453514
commit e54d6b8142
3 changed files with 158 additions and 1 deletions

View File

@@ -4,3 +4,4 @@ import "time"
const shortCacheTTL = time.Hour // 1 hour - for frequently changing data
const longCacheTTL = time.Hour * 24 // 24 hours - for stable data like genres
const producerCacheTTL = time.Hour * 24 * 30