Skip to content

#829: add ThrottledLint decorator to prevent lint stalling#959

Open
nacNAC333 wants to merge 1 commit into
objectionary:masterfrom
nacNAC333:829-throttled-lint
Open

#829: add ThrottledLint decorator to prevent lint stalling#959
nacNAC333 wants to merge 1 commit into
objectionary:masterfrom
nacNAC333:829-throttled-lint

Conversation

@nacNAC333

Copy link
Copy Markdown

Adds a ThrottledLint decorator that wraps any Lint and limits its execution time to 10 seconds. If the wrapped lint exceeds the timeout, the decorator cancels it and returns a single WARNING defect instead of stalling the build.

Fixes #829.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ThrottledLint decorator needed to prevent lints from prolonging and stalling the build

1 participant