mirror of
https://github.com/navidrome/navidrome.git
synced 2026-04-28 03:19:38 +00:00
feat(configuration): set maxconcurrenttranscodes to the maximum of 4 or available CPU cores
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
faa4acf583
commit
6fe2b76ac1
1 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,7 @@ func setViperDefaults() {
|
|||
viper.SetDefault("enablem3uexternalalbumart", false)
|
||||
viper.SetDefault("enablemediafilecoverart", true)
|
||||
viper.SetDefault("autotranscodedownload", false)
|
||||
viper.SetDefault("maxconcurrenttranscodes", 4)
|
||||
viper.SetDefault("maxconcurrenttranscodes", max(4, runtime.NumCPU()))
|
||||
viper.SetDefault("defaultdownsamplingformat", consts.DefaultDownsamplingFormat)
|
||||
viper.SetDefault("search.fullstring", false)
|
||||
viper.SetDefault("search.backend", "fts")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue