diff --git a/site.js b/site.js index 8633091..a409dda 100644 --- a/site.js +++ b/site.js @@ -200,6 +200,9 @@ async function siteCollector(user, path, site, useLimit, data2) { console.log(`User ${user} has ${i} pages calculated`); } out = out.concat(...users); + if (useLimit) { + out.length = Math.min(out.length,pageLimit * 40); + } if (!data2[user]) data2[user] = { following: [], followers: [] }; data2[user][path] = out;