Browse Source

Update backgroundchanger.go

main
Unbewohnte 4 years ago committed by GitHub
parent
commit
24e739ccde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      backgroundchanger.go

2
backgroundchanger.go

@ -308,7 +308,7 @@ func main() {
} }
log.Printf("Found %d song folders", len(songPaths)) log.Printf("Found %d song folders", len(songPaths))
// check if there is less job than workers // check if there are less jobs than workers
if int(settings.MaxWorkers) > len(songPaths) { if int(settings.MaxWorkers) > len(songPaths) {
settings.MaxWorkers = uint(len(songPaths)) settings.MaxWorkers = uint(len(songPaths))
} }

Loading…
Cancel
Save