Explorar o código

disable sandbox

Futa Arai hai 8 meses
pai
achega
20079d8407
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      apps/pdf-converter/src/service/pdf-convert.ts

+ 3 - 0
apps/pdf-converter/src/service/pdf-convert.ts

@@ -285,6 +285,9 @@ class PdfConvertService implements OnInit {
       concurrency: Cluster.CONCURRENCY_PAGE,
       concurrency: Cluster.CONCURRENCY_PAGE,
       maxConcurrency: this.maxConcurrency,
       maxConcurrency: this.maxConcurrency,
       workerCreationDelay: 10000,
       workerCreationDelay: 10000,
+      puppeteerOptions: {
+        args: ['--no-sandbox'],
+      },
     });
     });
 
 
     await this.puppeteerCluster.task(async ({ page, data: htmlString }) => {
     await this.puppeteerCluster.task(async ({ page, data: htmlString }) => {