mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-02 08:48:11 +09:00
Fix bug
This commit is contained in:
parent
d4d3316d18
commit
32117a573b
@ -47,7 +47,7 @@ export default function() {
|
||||
async function cpuUsage() {
|
||||
try {
|
||||
const data = await sysUtils.currentLoad();
|
||||
return Math.floor(data.currentload);
|
||||
return Math.floor(data.currentload / 100);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
throw error;
|
||||
|
Loading…
Reference in New Issue
Block a user