simologos / docusaurus-plugin-papersaurus

MIT License
12 stars 4 forks source link

Allow customization of 30000ms timeout #7

Closed jsphstls closed 7 months ago

jsphstls commented 2 years ago

Thank you for making this plugin!

[ERROR] TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded

Puppeteer supports a timeout option that could be exposed as an option of this plugin: https://stackoverflow.com/questions/69436420/how-to-increase-timeout-for-pupetteers-page-pdf-when-getting-timeouterror-wai

simologos commented 2 years ago

Thank you for the suggestion. I think this is a good idea!

simologos commented 7 months ago

The puppeteer Timeout is now configurable. See puppeteerTimeout in the readme file.