mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-11 10:42:41 +01:00
Fix bug
This commit is contained in:
parent
d4d3316d18
commit
32117a573b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ export default function() {
|
||||||
async function cpuUsage() {
|
async function cpuUsage() {
|
||||||
try {
|
try {
|
||||||
const data = await sysUtils.currentLoad();
|
const data = await sysUtils.currentLoad();
|
||||||
return Math.floor(data.currentload);
|
return Math.floor(data.currentload / 100);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
throw error;
|
throw error;
|
||||||
|
|
Loading…
Reference in a new issue