Revert "feat: puppeteer timeout"

This reverts commit 6d1a19a9bd.
This commit is contained in:
DIYgod 2024-08-23 17:39:57 +08:00
parent c1f8a74602
commit 50409ec19a
No known key found for this signature in database
1 changed files with 3 additions and 6 deletions

View File

@ -54,12 +54,9 @@ const outPuppeteer = async (
}
: options
));
setTimeout(
() => {
browser.close();
},
5 * 60 * 1000
);
setTimeout(() => {
browser.close();
}, 30000);
return browser;
};