Skip to content

Commit

Permalink
Log number of rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeinzer committed May 12, 2020
1 parent 114c646 commit 7ef1b9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/parsers/handleRequest.js
Expand Up @@ -45,6 +45,7 @@ const handleRequest = (app, ws, requestUser) => clientData => {
);

console.log(`Room created. Room: ${newRoom.id}`);
console.log(`Current number of rooms: ${app.rooms.size}`);
break;
}
case 'JOIN_ROOM': {
Expand Down

0 comments on commit 7ef1b9e

Please sign in to comment.