Skip to content

Commit

Permalink
fix typo in log
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Nov 20, 2023
1 parent b5c0895 commit 4a6c567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/WebsocketServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class WebsocketServer {

logStats() {
console.log(`[${new Date()}] Number of open sockets - ${this.socketCounter}`)
console.log(`[${new Date()}] Free RAM - ${Math.round(os.freemem() / 1024 / 1024)} / ${Math.round(os.totalmem() / 1024 / 1024)} GB`)
console.log(`[${new Date()}] Free RAM - ${Math.round(os.freemem() / 1024 / 1024)} / ${Math.round(os.totalmem() / 1024 / 1024)} MB`)
}
}

Expand Down

0 comments on commit 4a6c567

Please sign in to comment.