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

Dns address resolver hosts configuration refresh period. #4843

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

vietj
Copy link
Member

@vietj vietj commented Sep 8, 2023

The Vert.x DNS address resolver can load an hosts configuration file and cache the content forever. Sometimes the content of the file can change and the cached content becomes stale.

Add a new AddressResolverOptions hostsRefreshPeriod property to let the resolver refresh the hosts file when its cached content is older than the last read + refresh period.

@vietj vietj added this to the 4.4.6 milestone Sep 8, 2023
@vietj vietj force-pushed the dns-resolver-hosts-refresh-4.x branch from 0e3608c to e15f451 Compare September 8, 2023 09:26
…and cache the content forever. Sometimes the content of the file can change and the cached content becomes stale.

Add a new AddressResolverOptions hostsRefreshPeriod property to let the resolver refresh the hosts file when its cached content is older than the last read + refresh period.
@vietj vietj force-pushed the dns-resolver-hosts-refresh-4.x branch from e15f451 to 42a02d8 Compare September 8, 2023 13:43
@vietj vietj merged commit dd5c078 into 4.x Sep 9, 2023
6 checks passed
@vietj vietj deleted the dns-resolver-hosts-refresh-4.x branch September 9, 2023 07:42
@vietj vietj modified the milestones: 4.4.6, 4.5.0 Oct 6, 2023
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.

1 participant