Better reasonable default

reviewable/pr3905/r8
vjpai 9 years ago
parent 783c144afa
commit 454074369e
  1. 4
      test/cpp/qps/qps_driver.cc

@ -108,10 +108,8 @@ static void QpsDriver() {
params->set_req_size(FLAGS_simple_req_size); params->set_req_size(FLAGS_simple_req_size);
} }
} else { } else {
// choose a reasonable default // set a reasonable default: proto but no payload
auto params =
client_config.mutable_payload_config()->mutable_simple_params(); client_config.mutable_payload_config()->mutable_simple_params();
params->set_resp_size(1);
} }
client_config.set_async_client_threads(FLAGS_async_client_threads); client_config.set_async_client_threads(FLAGS_async_client_threads);

Loading…
Cancel
Save