From 454074369e361450114d9303d6354664ac7d7fc0 Mon Sep 17 00:00:00 2001 From: vjpai Date: Wed, 4 Nov 2015 08:33:49 -0800 Subject: [PATCH] Better reasonable default --- test/cpp/qps/qps_driver.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/cpp/qps/qps_driver.cc b/test/cpp/qps/qps_driver.cc index ebbf931933e..d8bee6ec2b7 100644 --- a/test/cpp/qps/qps_driver.cc +++ b/test/cpp/qps/qps_driver.cc @@ -108,10 +108,8 @@ static void QpsDriver() { params->set_req_size(FLAGS_simple_req_size); } } else { - // choose a reasonable default - auto params = - client_config.mutable_payload_config()->mutable_simple_params(); - params->set_resp_size(1); + // set a reasonable default: proto but no payload + client_config.mutable_payload_config()->mutable_simple_params(); } client_config.set_async_client_threads(FLAGS_async_client_threads);