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

dnsdist: Add setCacheCleaningPercentage() #4748

Merged

Conversation

@rgacogne
Copy link
Member

@rgacogne rgacogne commented Dec 6, 2016

Short description

By default, the cache cleaning algorithm scans the entire cache looking for expired entries to remove. This commit adds an option to configure the percentage of the cache to try to free on every pass.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled and tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
@rgacogne rgacogne merged commit b6485de into PowerDNS:master Dec 14, 2016
1 check passed
@rgacogne rgacogne deleted the dnsdist-cache-cleaning-percentage branch Dec 14, 2016
rgacogne added a commit to rgacogne/pdns that referenced this issue Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant