diff options
author | David G. Quintas <dgq@google.com> | 2016-11-04 16:31:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 16:31:36 +0100 |
commit | e8df27dbe1287750cb613276cd1148ac71a6bb05 (patch) | |
tree | 65fcde15f73cfd3d1247bb367e8a65bc815aeeb9 /src/core | |
parent | 852c58e8ae64ccd7361ab0bdc36f3297960c9d5b (diff) | |
parent | 8c2e8b44b9b90a15bac0bb36f6dab3b82195a788 (diff) |
Merge pull request #8569 from dgquintas/dns_retry_timeout_sign
Fixed wrong sign for dns timeout debug msg
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ext/resolver/dns/native/dns_resolver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/resolver/dns/native/dns_resolver.c b/src/core/ext/resolver/dns/native/dns_resolver.c index 958b8af8b2..665439f360 100644 --- a/src/core/ext/resolver/dns/native/dns_resolver.c +++ b/src/core/ext/resolver/dns/native/dns_resolver.c @@ -190,7 +190,7 @@ static void dns_on_resolved(grpc_exec_ctx *exec_ctx, void *arg, GPR_ASSERT(!r->have_retry_timer); r->have_retry_timer = true; GRPC_RESOLVER_REF(&r->base, "retry-timer"); - if (gpr_time_cmp(timeout, gpr_time_0(timeout.clock_type)) <= 0) { + if (gpr_time_cmp(timeout, gpr_time_0(timeout.clock_type)) > 0) { gpr_log(GPR_DEBUG, "retrying in %" PRId64 ".%09d seconds", timeout.tv_sec, timeout.tv_nsec); } else { |