Skip to content

Commit

Permalink
feat: set custom protocolTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielforster committed Jan 24, 2024
1 parent b1fcd61 commit d631d3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper/ports/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export async function handler (input: Input) {
executablePath: await chromium.executablePath("/opt/nodejs/node_modules/@sparticuz/chromium/bin"),
headless: chromium.headless,
ignoreHTTPSErrors: true,
protocolTimeout: 300_000,
});

const page = await browser.newPage();
Expand Down

0 comments on commit d631d3d

Please sign in to comment.