Skip to content

Commit 4e0fb59

Browse files
committed
No need to initialize connected_users with 0
1 parent 7f3fa20 commit 4e0fb59

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

server/index.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,7 @@ app.get('/', function (req, res) {
4646
res.sendFile(path.resolve('app/index.html'));
4747
});
4848

49-
// Set number of connected users to 0
50-
redis_client.set('connected_users', 0);
51-
52-
53-
54-
55-
var allClients = [];
49+
var allClients = [];
5650

5751
// When a socket connection is created
5852
io.on('connection', function (socket) {

0 commit comments

Comments
 (0)