Skip to content

Commit de01e80

Browse files
committed
Disable zygote from puppeteer for stability
1 parent a32ed97 commit de01e80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sci-log-db/src/services/export-snippets.service.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,11 @@ export class ExportService {
291291
this.authorizationHeader = authorizationHeader;
292292
const browser = await puppeteerLaunc({
293293
executablePath: process.env.CHROME_BIN,
294-
args: ['--no-sandbox'],
294+
args: [
295+
'--no-sandbox',
296+
'--disable-setuid-sandbox',
297+
'--no-zygote',
298+
],
295299
});
296300
const exportFile = exportPath.exportFile;
297301
const chunks = Math.ceil(snippets.length / this.batchSize);

0 commit comments

Comments
 (0)