-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow configurable timeout for parallel rendering #191
Comments
Yes indeed that is something we want, well need, if you have hit that hard limit. I am certainly interested in a PR, the idea would be to instrument That said I am a little bit intrigued where you hit that limit. In the line scanner (https://github.com/pragdave/earmark/blob/master/lib/earmark/line.ex#L81) or in the HTML renderer (https://github.com/pragdave/earmark/blob/master/lib/earmark/html_renderer.ex#L16), I'd guess in the later, man (pun intended).
Thank you for your kind words, but it is I who is thankful to work on a useful open source project with kind, bright and helpful people around, and the privilege to work with Dave Thomas. |
Oh sorry I missed that you were aware of the workaround, bad communication skills 😢 |
I am afraid that my implementation of this feature, which was simple, beware of simple solutions, right 🤕 ... ran into a regression issue. The failing test in the PR demonstrates it quite clearly I think you need to override Unless I can find an elegant solution to this dilemma I might need to close this issue, but I'll give it some time and will definitely listen to suggestions. @pragdave your guidence would be appreciated. |
@RobertDober thanks for looking into this! we ended overriding the |
please let me know if it is enough, because So you actually hit a bug that I had not even seen in the first analysis of the issue. |
Sometimes, one has a large amount of markdown parsing to do and the default timeout of
Task.await
(5000ms) is not long enough to do it. It would be great to be able to configure the timeout passed toTask.await
instead of overridingpmap
, which is technically private.I would be happy to PR this given some direction and approval that this is something the project wants.
Thanks for making/maintaining Earmark! It's helped us a lot.
The text was updated successfully, but these errors were encountered: