Skip to content

Commit

Permalink
Oops, there's a 100-node limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyasskin committed Oct 26, 2023
1 parent 5cf79a7 commit 304ee75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 304ee75

Please sign in to comment.