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

frequency cannot be configurable for DNS resolver #2306

Closed
kazegusuri opened this issue Sep 14, 2018 · 1 comment
Closed

frequency cannot be configurable for DNS resolver #2306

kazegusuri opened this issue Sep 14, 2018 · 1 comment

Comments

@kazegusuri
Copy link
Contributor

DNS resolver has fixed duration for DNS resolution (30 min) for now.
I want to customize it as smaller duration to resolve more frequently.

dnsBuilder it self has freq field for resolution, but there is no interface to change it.
resolver.ResolveNowOption is the common option for resolvers.
We can populate duration by the option, but is it good for the option?

What version of gRPC are you using?

v1.15

What version of Go are you using (go version)?

go version go1.11 darwin/amd64

What operating system (Linux, Windows, …) and version?

Linux, Mac

What did you do?

What did you expect to see?

I want to customize frequency of DNS resolution

What did you see instead?

fixed duration is used for resolution

@dfawley
Copy link
Member

dfawley commented Sep 14, 2018

To be in-line with the other grpc implementation languages, we will be removing polling from the DNS resolver; updates will be only performed when a connection error occurs.

See #1663 for more information.

@dfawley dfawley closed this as completed Sep 14, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Mar 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants