Reduce monitoring period to 30 seconds

This commit is contained in:
Sebastiaan de Schaetzen 2025-03-30 15:00:15 +02:00
parent 7cfcfa330c
commit a75ed4bbc4

View File

@ -24,7 +24,7 @@ import (
const ( const (
checkInterval = 10 * time.Second checkInterval = 10 * time.Second
monitoringPeriod = 5 * time.Minute monitoringPeriod = 30 * time.Second
cpuThreshold = 20.0 // percentage cpuThreshold = 20.0 // percentage
gpuThreshold = 20.0 // percentage gpuThreshold = 20.0 // percentage
diskThreshold = 5 * 1024 * 1024 // 5 MB/s diskThreshold = 5 * 1024 * 1024 // 5 MB/s