mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +01:00
limiting amount of tid's being loaded via sitemap
temporary stopgap for load issues, fixing this properly next @barisusakli
This commit is contained in:
@@ -27,7 +27,7 @@ sitemap.render = function (callback) {
|
||||
var numPages;
|
||||
|
||||
async.waterfall([
|
||||
async.apply(db.getSortedSetRange, 'topics:recent', 0, -1),
|
||||
async.apply(db.getSortedSetRange, 'topics:recent', 0, 1000),
|
||||
function (tids, next) {
|
||||
privileges.topics.filterTids('read', tids, 0, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user