From d0816a0e3c7b6456774799ae15750adf4d1439a9 Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Wed, 26 Mar 2025 11:00:21 +0100 Subject: [PATCH] Set default port to 8081 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}