display 4 rows of active users

This commit is contained in:
Baris Soner Usakli
2014-02-12 17:24:51 -05:00
parent 1c14bcd1ed
commit 7f4a1cd685

View File

@@ -411,7 +411,7 @@ var db = require('./database'),
};
Categories.getActiveUsers = function(cid, callback) {
db.getSortedSetRevRange('cid:' + cid + ':active_users', 0, 15, callback);
db.getSortedSetRevRange('cid:' + cid + ':active_users', 0, 31, callback);
};
Categories.moveActiveUsers = function(tid, oldCid, cid, callback) {