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

Cache missing schemas #159

Merged
merged 1 commit into from
Jul 27, 2019
Merged

Conversation

johanneswuerbach
Copy link
Contributor

Instead of trying and failing to load the schema multiple times, fetch it only once and remember that it wasn't loadable.

This should improve the kubeval performance if a lot of missing schemas are present.

@garethr
Copy link
Collaborator

garethr commented Jul 27, 2019

Thanks, good idea. I'll test this out and look to get a new release out soon.

@garethr garethr merged commit 82138a4 into instrumenta:master Jul 27, 2019
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.

2 participants