Skip to content

Commit

Permalink
fix: remove protocolTimeout
Browse files Browse the repository at this point in the history
Relates to #202
  • Loading branch information
harlan-zw committed May 22, 2024
1 parent 8b92bc9 commit 383f246
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/resolveConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ export const resolveUserConfig: (userConfig: UserConfig) => Promise<ResolvedUser
config.routerPrefix = withSlashes(config.routerPrefix)

config.puppeteerOptions = defu(config.puppeteerOptions, {
// try avoid timeouts
timeout: 0,
protocolTimeout: 0,
})
config.puppeteerClusterOptions = defu(config.puppeteerClusterOptions, {
timeout: 120_000,
Expand Down

0 comments on commit 383f246

Please sign in to comment.