Only wait 1 second between requests
This commit is contained in:
parent
8e4239893c
commit
466991d2a1
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ console.log('Processing', itemPagesWithoutEDBIDs.length, 'item pages from [[Cate
|
||||||
for (const {title} of itemPagesWithoutEDBIDs) {
|
for (const {title} of itemPagesWithoutEDBIDs) {
|
||||||
// this runs serially with an artificial delay between requests to decrease
|
// this runs serially with an artificial delay between requests to decrease
|
||||||
// the chance of sqenix sending ninjas to my house
|
// the chance of sqenix sending ninjas to my house
|
||||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
await new Promise(resolve => setTimeout(resolve, 1000));
|
||||||
|
|
||||||
console.log('Page:', title);
|
console.log('Page:', title);
|
||||||
// look up on EDB
|
// look up on EDB
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue