Skip to content

Commit

Permalink
Disable zygote from puppeteer for stability (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic authored Dec 6, 2024
1 parent a32ed97 commit 698b567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sci-log-db/src/services/export-snippets.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class ExportService {
this.authorizationHeader = authorizationHeader;
const browser = await puppeteerLaunc({
executablePath: process.env.CHROME_BIN,
args: ['--no-sandbox'],
args: ['--no-sandbox', '--disable-setuid-sandbox', '--no-zygote'],
});
const exportFile = exportPath.exportFile;
const chunks = Math.ceil(snippets.length / this.batchSize);
Expand Down

0 comments on commit 698b567

Please sign in to comment.