From 9d4fa4c8470aeb66ea262de5977ca8c5b0b715c9 Mon Sep 17 00:00:00 2001 From: Vladimir Voronkov Date: Tue, 5 Mar 2024 15:23:08 +0200 Subject: [PATCH] Set 90sec timeout for html-pdf lib --- workers/loc.api/generate-report-file/pdf-writer/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/workers/loc.api/generate-report-file/pdf-writer/index.js b/workers/loc.api/generate-report-file/pdf-writer/index.js index 90bf60cd7..2695eda86 100644 --- a/workers/loc.api/generate-report-file/pdf-writer/index.js +++ b/workers/loc.api/generate-report-file/pdf-writer/index.js @@ -89,6 +89,7 @@ class PdfWriter extends MainPdfWriter { format, orientation, type: 'pdf', + timeout: 90000, childProcessOptions: { env: { OPENSSL_CONF: '/dev/null' } }