|
|
@ -144,7 +144,7 @@ AresDnsResolver::AresDnsResolver(ResolverArgs args) |
|
|
|
arg = grpc_channel_args_find(channel_args_, |
|
|
|
arg = grpc_channel_args_find(channel_args_, |
|
|
|
GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS); |
|
|
|
GRPC_ARG_DNS_MIN_TIME_BETWEEN_RESOLUTIONS_MS); |
|
|
|
min_time_between_resolutions_ = |
|
|
|
min_time_between_resolutions_ = |
|
|
|
grpc_channel_arg_get_integer(arg, {1000, 0, INT_MAX}); |
|
|
|
grpc_channel_arg_get_integer(arg, {1000 * 30, 0, INT_MAX}); |
|
|
|
// Enable SRV queries option
|
|
|
|
// Enable SRV queries option
|
|
|
|
arg = grpc_channel_args_find(channel_args_, GRPC_ARG_DNS_ENABLE_SRV_QUERIES); |
|
|
|
arg = grpc_channel_args_find(channel_args_, GRPC_ARG_DNS_ENABLE_SRV_QUERIES); |
|
|
|
enable_srv_queries_ = grpc_channel_arg_get_bool(arg, false); |
|
|
|
enable_srv_queries_ = grpc_channel_arg_get_bool(arg, false); |
|
|
|