Browse Source

fix: rm mem & cpu usage

pull/2460/head
Wing-Kam Wong 2 years ago
parent
commit
b6d1961b73
  1. 6
      packages/nocodb/src/lib/meta/api/utilApis.ts

6
packages/nocodb/src/lib/meta/api/utilApis.ts

@ -63,10 +63,8 @@ export async function releaseVersion(_req: Request, res: Response) {
export async function appHealth(_: Request, res: Response) { export async function appHealth(_: Request, res: Response) {
res.json({ res.json({
message: 'OK', message: 'OK',
timestamp: Date(), timestamp: Date.now(),
uptime: process.uptime(), uptime: process.uptime()
memoryUsage: process.memoryUsage(),
cpuUsage: process.cpuUsage()
}); });
} }

Loading…
Cancel
Save