diff --git a/main.go b/main.go index 13185a3..e99524d 100644 --- a/main.go +++ b/main.go @@ -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() -} \ No newline at end of file +}