Add a cached http client

This commit is contained in:
Deluan 2021-02-07 23:26:05 -05:00 committed by Deluan Quintão
parent 9d24106066
commit 28cdf1e693
11 changed files with 234 additions and 14 deletions

View file

@ -34,6 +34,8 @@ const (
PlaceholderAlbumArt = "navidrome-600x600.png"
PlaceholderAvatar = "logo-192x192.png"
DefaultCachedHttpClientTTL = 10 * time.Second
)
// Cache options