feat: add producer data types and caching
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user