mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 19:50:37 +03:00
Invalidate artist cache (by changing cache key format)
This commit is contained in:
parent
d8e794317f
commit
f00e6117ff
@ -64,7 +64,7 @@ func newArtistReader(ctx context.Context, artwork *artwork, artID model.ArtworkI
|
||||
func (a *artistReader) Key() string {
|
||||
hash := md5.Sum([]byte(conf.Server.Agents + conf.Server.Spotify.ID))
|
||||
return fmt.Sprintf(
|
||||
"%s.%x.%t",
|
||||
"%s.%x.%t ",
|
||||
a.cacheKey.Key(),
|
||||
hash,
|
||||
conf.Server.EnableExternalServices,
|
||||
|
Loading…
x
Reference in New Issue
Block a user