diff options
author | 2018-01-18 08:54:45 -0800 | |
---|---|---|
committer | 2018-01-18 08:54:45 -0800 | |
commit | 44fe6e282c848d876d516fe6cd79a008d8104604 (patch) | |
tree | 73a1faa1c89dceb1a84ef7987ebb64c8a3f74153 /src/core/ext/filters/client_channel/lb_policy/grpclb | |
parent | 47fe8507a1905c20a86df09f97c3f972d643dda5 (diff) |
Combine BackOff Begin() and Step() methods.
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy/grpclb')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc index 272b3617b2..97dd93144e 100644 --- a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +++ b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc @@ -1158,7 +1158,7 @@ static void maybe_restart_lb_call(glb_lb_policy* glb_policy) { glb_policy->updating_lb_call = false; } else if (!glb_policy->shutting_down) { /* if we aren't shutting down, restart the LB client call after some time */ - grpc_millis next_try = glb_policy->lb_call_backoff->Step(); + grpc_millis next_try = glb_policy->lb_call_backoff->NextAttemptTime(); if (grpc_lb_glb_trace.enabled()) { gpr_log(GPR_DEBUG, "[grpclb %p] Connection to LB server lost...", glb_policy); |