Set default port to 8081

This commit is contained in:
Sebastiaan de Schaetzen 2025-03-26 11:00:21 +01:00
parent 8d36e1e245
commit d0816a0e3c

View File

@ -28,7 +28,7 @@ const (
gpuThreshold = 20.0 // percentage
diskThreshold = 5 * 1024 * 1024 // 5 MB/s
networkThreshold = 1 * 1024 * 1024 // 1 MB/s
httpPort = 8080
httpPort = 8081
)
type ResourceUsage struct {
@ -383,4 +383,4 @@ func isSystemIdle(history []ResourceUsage) bool {
func suspendSystem() error {
cmd := exec.Command("systemctl", "suspend")
return cmd.Run()
}
}