Skip to content

Commit

Permalink
Merge pull request #355 from ZIMkaRU/bugfix/set-90sec-timeout-for-htm…
Browse files Browse the repository at this point in the history
…l-pdf-lib

Set 90sec timeout for html-pdf lib
  • Loading branch information
ezewer authored Mar 6, 2024
2 parents dcc0897 + 9d4fa4c commit ce9614b
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 ce9614b

Please sign in to comment.