NielsSteensma / Dhalang

Generate PDFs and make screenshots of HTML using Puppeteer in Ruby
MIT License
40 stars 22 forks source link

DhalangError: waiting for Page.printToPDF failed: timeout 30000ms exceeded #47

Closed raphox closed 2 years ago

raphox commented 2 years ago

In the system I'm working with, we have a PDF with several pages. PDF generation takes more than 30000ms. I think it would be interesting to be able to configure this in the project.

I believe that changes are very similar to https://github.com/NielsSteensma/Dhalang/commit/0ecc0a07d28eb3f4d6516a9b3e4043d2bbd31402

NielsSteensma commented 2 years ago

Agreed, seems useful.

Anyone, feel free to assign yourself the issue and open a PR for it. ( If I got some spare time I can also look into it ofc )