Commit dcabfa9a authored by wangxuefeng's avatar wangxuefeng

Remove useless code in thrift example

parent 5462d7b5
...@@ -58,11 +58,6 @@ int main(int argc, char* argv[]) { ...@@ -58,11 +58,6 @@ int main(int argc, char* argv[]) {
// Send a request and wait for the response every 1 second. // Send a request and wait for the response every 1 second.
int log_id = 0; int log_id = 0;
std::string query_string = "hello";
for(auto i = 0; i < 1000000; i++) {
query_string += " test";
}
while (!brpc::IsAskedToQuit()) { while (!brpc::IsAskedToQuit()) {
brpc::Controller cntl; brpc::Controller cntl;
cntl.set_log_id(log_id ++); // set by user cntl.set_log_id(log_id ++); // set by user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment