reduced active users

This commit is contained in:
barisusakli
2014-07-29 00:50:53 -04:00
parent 96b0b449b9
commit 783926687c

View File

@@ -8,7 +8,7 @@ module.exports = function(Categories) {
Categories.getActiveUsers = function(cid, callback) {
async.waterfall([
function(next) {
db.getSortedSetRevRange('categories:recent_posts:cid:' + cid, 0, 99, next);
db.getSortedSetRevRange('categories:recent_posts:cid:' + cid, 0, 49, next);
},
function(pids, next) {
var keys = pids.map(function(pid) {