mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 23:48:01 +00:00
✌️
This commit is contained in:
parent
ccb00e218f
commit
79f8b29bef
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue