From 51cafe075c4661e63a0cfd45979aaac04dc89159 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 6 Sep 2014 02:34:39 -0400 Subject: [PATCH] only get 25 posts --- src/categories/activeusers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/categories/activeusers.js b/src/categories/activeusers.js index 6dbee43191..2cd10ef2b8 100644 --- a/src/categories/activeusers.js +++ b/src/categories/activeusers.js @@ -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, 49, next); + db.getSortedSetRevRange('categories:recent_posts:cid:' + cid, 0, 24, next); }, function(pids, next) { var keys = pids.map(function(pid) {