From ba95631d56d591c1f5e40c22fc240817f5b2de52 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Fri, 18 Dec 2020 14:40:23 -0800 Subject: [PATCH] Add flag to chromium to use single process --- .../server/routes/utils/visual_report/visualReportHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibana-reports/server/routes/utils/visual_report/visualReportHelper.ts b/kibana-reports/server/routes/utils/visual_report/visualReportHelper.ts index 3d53ab70..621ca2af 100644 --- a/kibana-reports/server/routes/utils/visual_report/visualReportHelper.ts +++ b/kibana-reports/server/routes/utils/visual_report/visualReportHelper.ts @@ -66,7 +66,7 @@ export const createVisualReport = async ( * TODO: temp fix to disable sandbox when launching chromium on Linux instance * https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#setting-up-chrome-linux-sandbox */ - args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-gpu'], + args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-gpu', '--no-zygote', '--single-process'], executablePath: CHROMIUM_PATH, env: { TZ: timezone || 'UTC',