Reduce hardware alerting thresholds

This commit is contained in:
Gabe Kangas 2020-12-07 13:44:41 -08:00
parent 0062896b7d
commit 814fcceaac

View file

@ -4,9 +4,9 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )
const maxCPUAlertingThresholdPCT = 95 const maxCPUAlertingThresholdPCT = 80
const maxRAMAlertingThresholdPCT = 95 const maxRAMAlertingThresholdPCT = 80
const maxDiskAlertingThresholdPCT = 95 const maxDiskAlertingThresholdPCT = 90
const alertingError = "The %s utilization of %d%% can cause issues with video generation and delivery. Please visit the documentation at http://owncast.online/docs/troubleshooting/ to help troubleshoot this issue." const alertingError = "The %s utilization of %d%% can cause issues with video generation and delivery. Please visit the documentation at http://owncast.online/docs/troubleshooting/ to help troubleshoot this issue."