Skip to content

Commit

Permalink
Merge pull request #1419 from gamebeaker/SlowDownSearchingURLs
Browse files Browse the repository at this point in the history
walkTocPages() add slow down
  • Loading branch information
dteviot authored Aug 12, 2024
2 parents 35c4bb7 + fd9074d commit 25bc694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/js/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ class Parser {
chapterUrlsUI.showTocProgress(chapters);
let url = nextTocPageUrl(dom, chapters, chapters);
while (url != null) {
await this.rateLimitDelay();
dom = (await HttpClient.wrapFetch(url)).responseXML;
let partialList = chaptersFromDom(dom);
chapterUrlsUI.showTocProgress(partialList);
Expand Down

0 comments on commit 25bc694

Please sign in to comment.