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: make caching options more explicit #2966

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Jun 14, 2024

This PR makes the caching behavior a bit more logical and explicit for different values:

  • TTL of <= 0 disable caching entirely
  • Dir of empty string ('') results in an in-memory only cache

Signed-off-by: Keith Zantow <kzantow@gmail.com>
Signed-off-by: Keith Zantow <kzantow@gmail.com>
@kzantow kzantow enabled auto-merge (squash) June 14, 2024 18:43
@kzantow kzantow merged commit af3aaa0 into anchore:main Jun 14, 2024
11 checks passed
@kzantow kzantow deleted the feat/cache-disable branch June 14, 2024 18:46
@spiffcs spiffcs added the changelog-ignore Don't include this issue in the release changelog label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-ignore Don't include this issue in the release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants