Skip to content

Commit

Permalink
round
Browse files Browse the repository at this point in the history
  • Loading branch information
daroczig committed Sep 28, 2024
1 parent cc38062 commit fbfcb7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ export function app(): express.Express {
const log = {
event: "response",
path: req.originalUrl,
real: elapsedTime,
user: userTime,
sys: sysTime,
wait: elapsedTime - userTime - sysTime,
real: elapsedTime.toFixed(2),
user: userTime.toFixed(2),
sys: sysTime.toFixed(2),
wait: (elapsedTime - userTime - sysTime).toFixed(2),
}
console.log(JSON.stringify(log));
})
Expand Down

0 comments on commit fbfcb7c

Please sign in to comment.