Skip to content

Commit

Permalink
revert si to 4.34.9
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Jul 30, 2021
1 parent ef02d12 commit 8a38d2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"reflect-metadata": "^0.1.12",
"rxjs": "7.3.0",
"semver": "^7.3.5",
"systeminformation": "5.7.13",
"systeminformation": "^4.34.9",
"tail": "^2.2.3",
"tar": "^6.1.2",
"tcp-port-used": "^1.0.2",
Expand Down Expand Up @@ -152,4 +152,4 @@
"smart home",
"hb-service"
]
}
}
2 changes: 1 addition & 1 deletion src/modules/status/status.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class StatusService {
* Looks up the cpu current load % and stores the last 60 points
*/
private async getCpuLoadPoint() {
const currentLoad = (await si.currentLoad()).currentLoad;
const currentLoad = (await si.currentLoad()).currentload;
this.cpuLoadHistory = this.cpuLoadHistory.slice(-60);
this.cpuLoadHistory.push(currentLoad);
}
Expand Down

0 comments on commit 8a38d2d

Please sign in to comment.