Skip to content

Node.js based forum software built for the modern web

load 50 topics in sitemap instead of all

barisusakli6926552e663f
diff --git a/src/sitemap.js b/src/sitemap.js
index 5db793a128..288d75bb13 100644
--- a/src/sitemap.js
+++ b/src/sitemap.js
@@ -49,7 +49,7 @@ var path = require('path'),
},
function(next) {
var topicUrls = [];
- topics.getTopicsFromSet(0, 'topics:recent', 0, -1, function(err, data) {
+ topics.getTopicsFromSet(0, 'topics:recent', 0, 49, function(err, data) {
if (err) {
return next(err);
}