Skip to content

Commit

Permalink
fix: remove puppeteer startup timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed May 22, 2024
1 parent 4cbb47c commit e2ae165
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/resolveConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ export const resolveUserConfig: (userConfig: UserConfig) => Promise<ResolvedUser
if (config.routerPrefix)
config.routerPrefix = withSlashes(config.routerPrefix)

config.puppeteerOptions = config.puppeteerOptions || {}
config.puppeteerOptions = defu(config.puppeteerOptions, {
timeout: 0,
})
config.puppeteerClusterOptions = defu(config.puppeteerClusterOptions, {
timeout: 120_000,
})
Expand Down

0 comments on commit e2ae165

Please sign in to comment.