Restart LB call after client load report completion, if needed.

pull/13417/head
Mark D. Roth 7 years ago
parent 366e23b604
commit 6c8ee58f95
  1. 3
      src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc

@ -1342,6 +1342,9 @@ static void client_load_report_done_locked(grpc_exec_ctx* exec_ctx, void* arg,
glb_policy->client_load_report_timer_pending = false;
GRPC_LB_POLICY_WEAK_UNREF(exec_ctx, &glb_policy->base,
"client_load_report");
if (glb_policy->lb_call == nullptr) {
maybe_restart_lb_call(exec_ctx, glb_policy);
}
return;
}
schedule_next_client_load_report(exec_ctx, glb_policy);

Loading…
Cancel
Save