mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-01 01:51:18 +01:00
limit # of results returned
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = function (Meta) {
|
||||
Meta.errors.get = function (escape, callback) {
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
db.getSortedSetRevRangeWithScores('errors:404', 0, -1, next);
|
||||
db.getSortedSetRevRangeWithScores('errors:404', 0, 199, next);
|
||||
},
|
||||
function (data, next) {
|
||||
data = data.map(function (nfObject) {
|
||||
|
||||
Reference in New Issue
Block a user