소스 검색

Adjust oustanding request count to meet new server algorithm

Craig Tiller 10 년 전
부모
커밋
ca83dc8109
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/cpp/qps/server_async.cc

+ 1 - 1
test/cpp/qps/server_async.cc

@@ -80,7 +80,7 @@ class AsyncQpsServerTest : public Server {
     server_ = builder.BuildAndStart();
 
     using namespace std::placeholders;
-    for (int i = 0; i < 10; i++) {
+    for (int i = 0; i < 10000 / config.threads(); i++) {
       for (int j = 0; j < config.threads(); j++) {
         auto request_unary = std::bind(
             &TestService::AsyncService::RequestUnaryCall, &async_service_, _1,