wait longer

master
lza_menace 2 years ago
parent a0b38f2adb
commit d4ef811c69

@ -110,10 +110,9 @@ class Scrape extends Collection {
while (lastScrapedBlock >= latestEthBlock) { while (lastScrapedBlock >= latestEthBlock) {
latestEthBlock = await this.provider.getBlockNumber(); latestEthBlock = await this.provider.getBlockNumber();
console.log(`[ ${(new Date()).toISOString()} ][ ${this.contractName} ] [ waiting ]\n`) console.log(`[ ${(new Date()).toISOString()} ][ ${this.contractName} ] [ waiting ]\n`)
await sleep(120); await sleep(900);
} }
} }
console.log('Exiting scraper.');
} }
// query historical logs // query historical logs

Loading…
Cancel
Save