diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-07-27 17:47:10 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-07-27 17:47:10 +0900 |
| commit | 32117a573b6139f540270c231921cbf1e3ecbdbf (patch) | |
| tree | f720a43076571df74cbda1063885b59939086f8b /src/daemons | |
| parent | :sparkles: (diff) | |
| download | misskey-32117a573b6139f540270c231921cbf1e3ecbdbf.tar.gz misskey-32117a573b6139f540270c231921cbf1e3ecbdbf.tar.bz2 misskey-32117a573b6139f540270c231921cbf1e3ecbdbf.zip | |
Fix bug
Diffstat (limited to 'src/daemons')
| -rw-r--r-- | src/daemons/server-stats.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemons/server-stats.ts b/src/daemons/server-stats.ts index d2c6e32292..750c00c0c4 100644 --- a/src/daemons/server-stats.ts +++ b/src/daemons/server-stats.ts @@ -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; |