attempt to shrink huge things

This commit is contained in:
biglyderv 2025-02-01 01:08:09 -05:00
parent 4ce75a22ae
commit d64b0714e9

View file

@ -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;