fix(backend): サーバーメトリクスのメモリ使用率が不正確になることがある不具合の修正 (#10728)
* FIX: サーバーメトリクスのメモリ使用率が不正確になることがある不具合の修正 * Update CHANGELOG
This commit is contained in:
parent
d28866f71a
commit
7de59a80a2
2 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,7 @@ export class ServerStatsService implements OnApplicationShutdown {
|
|||
const stats = {
|
||||
cpu: roundCpu(cpu),
|
||||
mem: {
|
||||
used: round(memStats.used - memStats.buffers - memStats.cached),
|
||||
used: round(memStats.total - memStats.available),
|
||||
active: round(memStats.active),
|
||||
},
|
||||
net: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue