Avoid TimeoutError: Navigation timeout of 30000 ms exceeded and TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded#266
Merged
yzane merged 2 commits intoyzane:masterfrom Sep 8, 2023
Conversation
|
i also got this issue, i use 1.4.4 (2020/03/19), and Google Chrome 105.0.5195.127. any updated or suggestion on this issue? |
|
Thanks to this patch, I was finally able to generate a PDF from my 55k lines Markdown document. Previously, I had been experiencing timeouts that prevented me from generating the PDF. I would merge it or allow the user to configure a maximum timeout for the pdf conversion. |
yzane
added a commit
that referenced
this pull request
Aug 17, 2023
…and TimeoutError: waiting for Page.printToPDF failed: timeout 30000ms exceeded #266
Owner
|
Thanks for the PR! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
私の MacBook Air 2012 で 2 万行くらいの Markdown を Google Chrome 95.0.4638.69(Official Build) (x86_64) で pdf 出力しようとすると、10 分くらいかかってしまい、タイトルのエラーが発生します😰
これを回避するためタイムアウトが発生しにようにしました。
When I try to output 20,000 lines of Markdown to pdf using Google Chrome 95.0.4638.69 (Official Build) (x86_64) on my MacBook Air 2012, it takes about 10 minutes and I get the error in the title 😰.
In order to avoid this, I made sure that the timeout does not occur.