From 979438d00e9c8b62fa42c7f10d25ca79cc51ff99 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Fri, 22 Aug 2025 19:23:31 +0200 Subject: [PATCH] Change CPU load scaling --- lib/www/client/source/src/components/server-status.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/www/client/source/src/components/server-status.vue b/lib/www/client/source/src/components/server-status.vue index bb65a3a..20a9c16 100644 --- a/lib/www/client/source/src/components/server-status.vue +++ b/lib/www/client/source/src/components/server-status.vue @@ -169,7 +169,7 @@ export default { return ((this.status.memory.total - this.status.memory.free) / this.status.memory.total) * 100; }, loadAvgPercent() { - const maxLoad = this.status.cpus.length * 4; // Assume 4x cores as max for scaling + const maxLoad = this.status.cpus.length * 2; // Assume 4x cores as max for scaling return Math.min((this.status.loadavg[0] / maxLoad) * 100, 100); // Cap at 100% } },