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

Avoid queries in update_scap_cves (9.0) #881

Merged
merged 3 commits into from
Nov 27, 2019

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented Nov 27, 2019

This uses a hashtable to buffer existing CPEs at the start of update_scap_cves. This allows us to avoid certain SQL queries later on in update_scap_cves.

Checklist:

@mattmundell mattmundell changed the title Use a buffer of existing CPEs to avoid queries in update_scap_cves (9.0) Avoid queries in update_scap_cves (9.0) Nov 27, 2019
@mattmundell mattmundell marked this pull request as ready for review November 27, 2019 10:00
@mattmundell mattmundell merged commit dfb943c into greenbone:gvmd-9.0 Nov 27, 2019
@mattmundell mattmundell deleted the buffer-cpes-9.0 branch November 27, 2019 13:57
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