mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-02 18:18:06 +08:00
refactor: avoid promise overhead (#8028)
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = async () => {
|
||||
} else {
|
||||
browser = await puppeteer.launch(options);
|
||||
}
|
||||
setTimeout(async () => {
|
||||
setTimeout(() => {
|
||||
browser.close();
|
||||
}, 30000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user