Fix timeout on connections

This commit is contained in:
Cryptkeeper
2015-11-02 00:01:04 -06:00
parent dec1536c6c
commit 0cbfcf60d7
4 changed files with 11 additions and 7 deletions

2
app.js
View File

@ -70,6 +70,8 @@ server.start(function() {
// Attach our listeners.
client.on('disconnect', function(client) {
connectedClients -= 1;
logger.log('info', 'Client disconnected, total clients: %d', connectedClients);
});
});
});