mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Fix bug
This commit is contained in:
parent
64f174c037
commit
771d5cdf8a
@ -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