Make Quagga2 setting "numOfWorkers" adjustable (closes #713)

This commit is contained in:
Bernd Bestel
2020-04-13 16:14:43 +02:00
parent 45d96cb60f
commit f36d9c46ed
3 changed files with 6 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ Grocy.Components.BarcodeScanner.StartScanning = function()
}
}
},
numOfWorkers: 2,
numOfWorkers: Grocy.UserSettings.quagga2_numofworkers,
frequency: 10,
decoder: {
readers: [