Skip to content

Commit

Permalink
Set 90sec timeout for html-pdf lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Mar 5, 2024
1 parent 3ce20da commit 9d4fa4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workers/loc.api/generate-report-file/pdf-writer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class PdfWriter extends MainPdfWriter {
format,
orientation,
type: 'pdf',
timeout: 90000,
childProcessOptions: {
env: { OPENSSL_CONF: '/dev/null' }
}
Expand Down

0 comments on commit 9d4fa4c

Please sign in to comment.