Address review comments.

pull/18908/head
Guantao Liu 6 years ago
parent aafa4c48e5
commit ca541c9c5f
  1. 3
      test/cpp/qps/client_callback.cc

@ -293,9 +293,6 @@ class CallbackStreamingPingPongReactor final
gpr_timespec next_issue_time = client_->NextRPCIssueTime();
// Start an alarm callback to run the internal callback after
// next_issue_time
if (ctx_->alarm_ == nullptr) {
ctx_->alarm_.reset(new Alarm);
}
ctx_->alarm_->experimental().Set(next_issue_time, [this](bool ok) {
write_time_ = UsageTimer::Now();
StartWrite(client_->request());

Loading…
Cancel
Save