This commit is contained in:
yanlong.wang 2024-04-11 19:12:07 +08:00
parent a9426341f6
commit 7e366aca68
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -72,6 +72,7 @@ export class PuppeteerControl extends AsyncService {
}
this.browser = await puppeteer.launch({
headless: true,
timeout: 300_000
});
this.browser.once('disconnected', () => {
this.logger.warn(`Browser disconnected`);