tweaking active.register so that it emits an active user change

This commit is contained in:
Julian Lam
2013-04-28 15:56:44 -04:00
parent 570dfd9786
commit 7827534819

View File

@@ -258,6 +258,7 @@ var config = require('../config.js'),
},
register: function(sessionID) {
RDB.set('active:' + sessionID, '', 60*10); // Active state persists for 10 minutes
this.get();
}
}
}(exports));