People: Improve thumb size config and flag descriptions #22

This commit is contained in:
Michael Mayer
2021-09-05 13:48:53 +02:00
parent b2a30d8091
commit b9d1c7afb3
25 changed files with 334 additions and 269 deletions

View File

@@ -57,8 +57,8 @@ func RemoveFromFolderCache(rootName string) {
func RemoveFromAlbumCoverCache(uid string) {
cache := service.CoverCache()
for typeName := range thumb.Sizes {
cacheKey := CacheKey(albumCover, uid, typeName)
for thumbName := range thumb.Sizes {
cacheKey := CacheKey(albumCover, uid, string(thumbName))
cache.Delete(cacheKey)