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

Find/glob cache fixes #643

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

deniszh
Copy link
Member

@deniszh deniszh commented Oct 10, 2024

Fixing #597
Looks like in this commit expandedGlobsCache was introduced w/o size limiter and disabling toggle. This PR fixing this.
So:

  • expandedGlobsCache renamed to globCache for brievity
  • added glob-cache-enabled, glob-cache-size-mb and find-cache-size-mb parameters
  • added cache cleaner (runs every with 60 sec) for find and glob caches

@deniszh deniszh merged commit a8c1c8b into go-graphite:master Oct 11, 2024
8 of 9 checks passed
@deniszh deniszh deleted the dzhdanov/cache-fix branch October 11, 2024 14:27
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