Enhancement: add bitrate precision config option for speedtest-tracker (#3354)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Ameer Abdallah 2024-04-22 21:20:08 -07:00 committed by GitHub
parent 312e97d18b
commit 340424391f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 2 deletions

View file

@ -450,6 +450,9 @@ export function cleanServiceGroups(groups) {
// proxmox
node,
// speedtest
bitratePrecision,
// sonarr, radarr
enableQueue,
@ -588,6 +591,11 @@ export function cleanServiceGroups(groups) {
if (type === "healthchecks") {
if (uuid !== undefined) cleanedService.widget.uuid = uuid;
}
if (type === "speedtest") {
if (bitratePrecision !== undefined) {
cleanedService.widget.bitratePrecision = parseInt(bitratePrecision, 10);
}
}
}
return cleanedService;