diff --git a/docs/configuration.md b/docs/configuration.md index 01cf669..2cd13de 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -76,7 +76,13 @@ scanner_extensions = mp3 ogg ## `[webapp]` section `cache_dir`: directory used to store generated files, such as resized cover -arts. Defaults to `/tmp/supysonic`. +art or transcoded files. Defaults to `/tmp/supysonic`. + +`cache_size`: maximum size (in megabytes) of the cache (except for trancodes). +Defaults to 512 MB + +`transcode_cache_size`: maximum size (in megabytes) of the transcode cache. +Defaults to 1024 MB (1 GB) `log_file`: rotating file where some events generated by the web server are logged. Leave empty to disable logging. @@ -98,6 +104,12 @@ transcoding format. Defaults to `on`. ; Optional cache directory. Default: /tmp/supysonic cache_dir = /var/supysonic/cache +; Main cache max size in MB. Default: 512 +cache_size = 512 + +; Transcode cache max size in MB. Default: 1024 (1GB) +transcode_cache_size = 1024 + ; Optional rotating log file. Default: none log_file = /var/supysonic/supysonic.log