Skip to content
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

Increase performance of linting #2477

Merged
merged 2 commits into from
Aug 31, 2022
Merged

Increase performance of linting #2477

merged 2 commits into from
Aug 31, 2022

Conversation

theunrepentantgeek
Copy link
Member

What this PR does / why we need it:

As the number of supported resources increases, we are running into timeouts running lint checks on our controller.

Specifying --skip-dirs or --skip-files does not reduce runtime nor memory use, because the analysis is done anyway and these flags only serve to filter results.

This PR increases the timeout to 10m and reduces the frequency of garbage collection.

How does this PR make you feel:
gif

@theunrepentantgeek theunrepentantgeek enabled auto-merge (squash) August 30, 2022 23:33
@theunrepentantgeek theunrepentantgeek merged commit eac966e into main Aug 31, 2022
@theunrepentantgeek theunrepentantgeek deleted the improve/lint-perf branch August 31, 2022 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants