mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Create and configure image cache
This commit is contained in:
parent
d308e7ca46
commit
1bc68c20fc
7 changed files with 54 additions and 11 deletions
|
@ -20,11 +20,16 @@ const (
|
|||
|
||||
UIAssetsLocalPath = "ui/build"
|
||||
|
||||
CacheDir = "cache"
|
||||
TranscodingCacheDir = "cache/transcoding"
|
||||
DefaultTranscodingCacheSize = 100 * 1024 * 1024 // 100MB
|
||||
DefaultTranscodingCacheMaxItems = 0 // Unlimited
|
||||
DefaultTranscodingCachePurgeInterval = 10 * time.Minute
|
||||
|
||||
ImageCacheDir = "cache/images"
|
||||
DefaultImageCacheSize = 100 * 1024 * 1024 // 100MB
|
||||
DefaultImageCacheMaxItems = 0 // Unlimited
|
||||
DefaultImageCachePurgeInterval = 10 * time.Minute
|
||||
|
||||
DevInitialUserName = "admin"
|
||||
DevInitialName = "Dev Admin"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue