Skip to content

Commit

Permalink
Revert "feat: puppeteer timeout"
Browse files Browse the repository at this point in the history
This reverts commit 6d1a19a.
  • Loading branch information
DIYgod committed Aug 23, 2024
1 parent c1f8a74 commit 50409ec
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/utils/puppeteer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,9 @@ const outPuppeteer = async (
}
: options
));
setTimeout(
() => {
browser.close();
},
5 * 60 * 1000
);
setTimeout(() => {
browser.close();
}, 30000);

return browser;
};
Expand Down

0 comments on commit 50409ec

Please sign in to comment.