From cd2aac9d285f87f1293f70c4f72cad8a9594f972 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 29 Apr 2017 03:19:31 -0400 Subject: [PATCH] limiting amount of tid's being loaded via sitemap temporary stopgap for load issues, fixing this properly next @barisusakli --- src/sitemap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); },