Made the number of threads used by the built in http server configurable. Default is as many cpu cores

This commit is contained in:
emeric
2020-10-17 22:30:03 +02:00
parent c04f57ceb5
commit 5a6abdcba9
2 changed files with 11 additions and 0 deletions
+3
View File
@@ -31,6 +31,9 @@ approot = "/usr/share/lms/approot";
# Location for deployment (See README if you want to deploy on a non root path)
deploy-path = "/";
# Number of threads to be used to dispatch http requests (0 means auto detect)
http-server-thread-count = 0;
# Acoustic brainz's root API
acousticbrainz-api-url = "https://acousticbrainz.org/api/v1/";