Only wait 1 second between requests

This commit is contained in:
ewin 2025-07-28 18:51:18 -04:00
parent 8e4239893c
commit 466991d2a1
Signed by: erin
SSH key fingerprint: SHA256:swjoHhREbZPbWe+gyJNi24d4NAxJSyUIm3fpZj4z3wc

View file

@ -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