From 6f42ee0b9265d41bd2f8d14d197a974392596e84 Mon Sep 17 00:00:00 2001 From: n1lsqn Date: Mon, 13 Nov 2023 21:52:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=87=BA=E5=8A=9B=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/server/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/server/index.ts b/src/modules/server/index.ts index 6bf3285..7c16392 100644 --- a/src/modules/server/index.ts +++ b/src/modules/server/index.ts @@ -38,8 +38,6 @@ export default class extends Module { @autobind private check() { const average = (arr) => arr.reduce((a, b) => a + b) / arr.length; - - console.log('statsLogs', this.statsLogs) const cpuPercentages = this.statsLogs.map(s => s && (s.cpu_usage || s.cpu) * 100 || 0); const cpuPercentage = average(cpuPercentages); if (cpuPercentage >= 70) {