From 304ee7562e8e45046a7f8de7f3bd698a4a725371 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Thu, 26 Oct 2023 14:26:14 -0700 Subject: [PATCH] Oops, there's a 100-node limit. --- scanner/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner/main.ts b/scanner/main.ts index 72b74d1..29ccfe8 100644 --- a/scanner/main.ts +++ b/scanner/main.ts @@ -195,7 +195,7 @@ async function fetchAllComments(needAllComments: any[], needEarlyComments: any[] } }`); let rateLimit: { cost: number, remaining: number | null } = { cost: 0, remaining: null }; - let fetchAtOnce = 200; + let fetchAtOnce = 100; const numEarlyComments = needEarlyComments.length; while (needEarlyComments.length > 0) { const initial = needEarlyComments.splice(0, fetchAtOnce);