-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add a max-timeout option #37
Comments
Would this I had a look and it seems like Otherwise you can wrap the entire validation call (probably around here) with a |
In our case, I think a global timeout would be the ideal solution, since otherwise we could still hit some edge case and have it stall for over 10 min. I tried looking into the code to add some debug statements, but async is a bit complicated :p Do you think wrapping the entire validation call in a timeout would work? Would the links that weren't checked still be propagated into error messages? |
You should be able to set
I'm guessing the entire linkcheck process would error out and you'd get no error messages (other than the fact linkchecking timed out). My real question is why linkchecking takes 15+ minutes... That's a long time to be checking links. The most likely causes are:
Based on your use of Void Linux book, do the either of the first two sound likely? |
I've counted 334 links, which indeed isn't that much. I would say it's probably the second one, since I haven't been able to reproduce the issue today. I will see about including the debug variable in CI to see if I can catch these issues. Thanks! |
I have a CI log where it locked here: https://travis-ci.org/github/void-linux/void-docs/builds/714715539 Couldn't spot anything of interest and couldn't reproduce locally :/ Got it to hang again https://travis-ci.org/github/void-linux/void-docs/builds/746378935 |
Hi! We are using
mdbook-linkcheck
in CI for https://github.com/void-linux/void-docs, and have faced some issues with it, which can be seen here https://travis-ci.org/github/void-linux/void-docs/builds/713885627 , where it goes over the 10 minute limit for Travis without any output. Locally the same thing is happening, I left it running for at least 15min and didn't get any output.So, I guess it would be nice to have a
max-timeout
option or similar to allow for a better UX as well as avoid blocking any CI that's being run. Thenmdbook-linkcheck
would show the failed links and a decision could be taken to add them toexclude_links
.How would you name such an option? Do you think this is a feature you want?
The text was updated successfully, but these errors were encountered: