From d64b0714e911081e32e85edbb6278d9d12d388e9 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Sat, 1 Feb 2025 01:08:09 -0500 Subject: [PATCH] attempt to shrink huge things --- site.js | 3 +++ 1 file changed, 3 insertions(+) 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;