summaryrefslogtreecommitdiff
path: root/src/daemons
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2021-02-27 01:29:29 +0900
committerGitHub <noreply@github.com>2021-02-27 01:29:29 +0900
commit0921850a79b067627beaa9c7e46d4216979f8211 (patch)
treeb98f72994428db079ba8292d72bbe34b4605c656 /src/daemons
parentfix migration script (diff)
downloadmisskey-0921850a79b067627beaa9c7e46d4216979f8211.tar.gz
misskey-0921850a79b067627beaa9c7e46d4216979f8211.tar.bz2
misskey-0921850a79b067627beaa9c7e46d4216979f8211.zip
Fix #7067 (#7267)
Diffstat (limited to 'src/daemons')
-rw-r--r--src/daemons/server-stats.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemons/server-stats.ts b/src/daemons/server-stats.ts
index 57691fbc00..bc1da5eef6 100644
--- a/src/daemons/server-stats.ts
+++ b/src/daemons/server-stats.ts
@@ -28,7 +28,7 @@ export default function() {
const stats = {
cpu: roundCpu(cpu),
mem: {
- used: round(memStats.used),
+ used: round(memStats.used - memStats.buffers - memStats.cached),
active: round(memStats.active),
},
net: {