dnsdist: Add `setCacheCleaningPercentage()` #4748

Merged
merged 1 commit into from Dec 14, 2016

Projects

None yet

1 participant

@rgacogne
Member
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

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-cache-cleaning-percentage branch Dec 14, 2016
@rgacogne rgacogne added a commit to rgacogne/pdns that referenced this pull request Dec 14, 2016
@rgacogne rgacogne dnsdist: Add #4748 to the ChangeLog 9e59f62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment