xianshangyouling opened a new issue, #1746: URL: https://github.com/apache/incubator-brpc/issues/1746
Master_Stub stub(_master_client.get()); brpc::Controller cntl; cntl.set_timeout_ms(200); int64_t start = butil::gettimeofday_ms(); stub.sync_meta(&cntl, &sync_request, &sync_response, NULL); int64_t end = butil::gettimeofday_ms(); std::cout << "cost:" << end - start << std::endl; 这样设置超时时间,但有时会卡住几分钟,请问为啥没有生效呢? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
