Skip to content

hostip: do DNS cache pruning in milliseconds#18160

Closed
bagder wants to merge 2 commits intomasterfrom
bagder/dns-cache-ms
Closed

hostip: do DNS cache pruning in milliseconds#18160
bagder wants to merge 2 commits intomasterfrom
bagder/dns-cache-ms

Conversation

@bagder
Copy link
Member

@bagder bagder commented Aug 4, 2025

Instead of using integer seconds. Also: if the cache contains over 30,000 entries after first pruning, it makes another round and removes all entries that are older than half the age of the oldest entry until it goes below 30,000.

Instead of using integer seconds. Also: if the cache contains over
30,000 entries after first pruning, it makes anoter round and removes
all entries that are older than half the age of the oldest entry until
it goes below 30,000.
@bagder bagder added the name lookup DNS and related tech label Aug 4, 2025
@github-actions github-actions bot added the tests label Aug 4, 2025
@bagder bagder marked this pull request as ready for review August 4, 2025 12:37
@bagder bagder closed this in 854b0e2 Aug 4, 2025
@bagder bagder deleted the bagder/dns-cache-ms branch August 4, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

name lookup DNS and related tech tests

Development

Successfully merging this pull request may close these issues.

1 participant