Skip to content

Commit

Permalink
fix(webserver): Fix SystemRouter units
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed May 29, 2021
1 parent efc46e6 commit fd908f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/lib/webserver/SystemRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ class SystemRouter {
total: os.totalmem(),
free: os.freemem(),
valetudo_current: process.memoryUsage()?.rss,
valetudo_max: process.resourceUsage()?.maxRSS
valetudo_max: process.resourceUsage()?.maxRSS * 1024
},
uptime: os.uptime(),
uptime: Math.floor(os.uptime()),
load: os.loadavg(),
cpuCount: os.cpus().length
});
Expand Down

0 comments on commit fd908f6

Please sign in to comment.