From e52013ccb1092944e3398766762a20bf192d9afd Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Fri, 26 Aug 2022 11:54:33 +0800 Subject: [PATCH] It seems to have some issue with disabling puppeteer timeout by setting it to 0. So I set the timeout to 2 minutes which should be enough and it works in my local env --- packages/content-fetch/fetch-content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/content-fetch/fetch-content.js b/packages/content-fetch/fetch-content.js index 6a87f912a..01dbe199c 100644 --- a/packages/content-fetch/fetch-content.js +++ b/packages/content-fetch/fetch-content.js @@ -110,7 +110,7 @@ const getBrowserPromise = (async () => { defaultViewport: { height: 1080, width: 1920 }, executablePath: process.env.CHROMIUM_PATH , headless: !!process.env.LAUNCH_HEADLESS, - timeout: 0, + timeout: 120000, // 2 minutes }); })();