mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
reduced active users
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user