reduce chromium launch timeout to 30 seconds

This commit is contained in:
Hongbo Wu
2024-05-17 14:27:59 +08:00
parent b6dba11000
commit f43c48e376

View File

@ -126,7 +126,7 @@ const launchBrowser = async () => {
},
executablePath: process.env.CHROMIUM_PATH,
headless: !!process.env.LAUNCH_HEADLESS,
timeout: 120000, // 2 minutes
timeout: 30_000, // 30 seconds
dumpio: true, // show console logs in the terminal
})) as Browser