From 6926552e663f39d5d63960d3a24495144e248226 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 3 Sep 2014 11:30:07 -0400 Subject: [PATCH] load 50 topics in sitemap instead of all --- src/sitemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }