Skip to content

--lifetime would be great to have, to limit execution time #2076

@yegor256

Description

@yegor256

Currently, I use lychee to validate external links in my blog. I have more than 600 Markdown pages and more than a thousand of links. It takes 15+ minutes to check them all. Sometimes it may take even longer. Since the checking process is rather non-deterministic, it won't hurt if it stops after the first five minutes. Some links won't be checked, but some 404 links may be detected.

I suggest adding --lifetime=42 parameter, which means: "stop running after 42 seconds and report what's found, showing how many links were skipped."

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions