Skip to content

Node.js based forum software built for the modern web

limiting amount of tid's being loaded via sitemap

psychobunnycd2aac9d285f
diff --git a/src/sitemap.js b/src/sitemap.js
index d828f9d784..8cd91fec6b 100644
--- a/src/sitemap.js
+++ b/src/sitemap.js
@@ -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);
},