only get 25 posts

v1.18.x
barisusakli 11 years ago
parent 099a04c1c8
commit 51cafe075c

@ -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) {

Loading…
Cancel
Save