load 50 topics in sitemap instead of all

v1.18.x
barisusakli 11 years ago
parent 94d050fd4f
commit 6926552e66

@ -49,7 +49,7 @@ var path = require('path'),
}, },
function(next) { function(next) {
var topicUrls = []; var topicUrls = [];
topics.getTopicsFromSet(0, 'topics:recent', 0, -1, function(err, data) { topics.getTopicsFromSet(0, 'topics:recent', 0, 49, function(err, data) {
if (err) { if (err) {
return next(err); return next(err);
} }

Loading…
Cancel
Save