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

fix: Reimplement caching to use a per-year scope #273

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jeremylong
Copy link
Owner

The change was reverted in master - original proposed via #259.

While the idea is good and we may go with it; I am concerned about the number of requests on an update that could be completed with a single API request. I have questions out to the team at the NVD that I'm waiting on an answer.

EugenMayer and others added 4 commits February 10, 2025 06:29
* Reimplement caching to use a per-year scope
* Add forgiveness if a year fails, continue to the next one
* Reimplement how the lastUpdated date is used and stored per year
* Add lockfile
* fix: preserve modified entries if year fails
* polish docs, add exit code

---------

Co-authored-by: Jeremy Long <[email protected]>
* fix: bugfix in yearly cache update

* fix: ensure sorted

* fix: updated modified date in properties
* feat: retry nvd cache on failure

* fix: updated per peer review
@EugenMayer
Copy link
Contributor

EugenMayer commented Feb 17, 2025

moved comment to pr #279

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