From 79f8b29befa9201e5b2657670c36a36e276668e0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Aug 2018 16:16:27 +0900 Subject: [PATCH] :v: --- src/modules/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/server/index.ts b/src/modules/server/index.ts index 83424ff..66114a6 100644 --- a/src/modules/server/index.ts +++ b/src/modules/server/index.ts @@ -62,7 +62,7 @@ export default class ServerModule implements IModule { const cpuPercentages = this.statsLogs.map(s => s.cpu_usage * 100); const cpuPercentage = average(cpuPercentages); - if (cpuPercentage >= 90) { + if (cpuPercentage >= 70) { this.scheduleReboot('cpu'); } }