Tracking nb users connected and server load

When a user connects or disconnects on the server, we log this (along the current server load).
This is only temporary, in order to assess the number of users a server can safely handle before crashing.
This commit is contained in:
David Négrier 2020-05-28 22:00:56 +02:00
parent 763d988848
commit 66ec11176b
3 changed files with 21 additions and 322 deletions

View file

@ -32,6 +32,7 @@
"http-status-codes": "^1.4.0",
"jsonwebtoken": "^8.5.1",
"socket.io": "^2.3.0",
"systeminformation": "^4.26.5",
"ts-node-dev": "^1.0.0-pre.44",
"typescript": "^3.8.3",
"uuidv4": "^6.0.7"