mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
reduced active users
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = function(Categories) {
|
|||||||
Categories.getActiveUsers = function(cid, callback) {
|
Categories.getActiveUsers = function(cid, callback) {
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function(next) {
|
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) {
|
function(pids, next) {
|
||||||
var keys = pids.map(function(pid) {
|
var keys = pids.map(function(pid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user