Skip to content

Commit 698b567

Browse files
authored
Disable zygote from puppeteer for stability (#419)
1 parent a32ed97 commit 698b567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)