Commit 8ff7f4ed authored by TousakaRin's avatar TousakaRin

Fix indent

parent 25cbf495
......@@ -171,7 +171,7 @@ void StatusService::default_method(::google::protobuf::RpcController* cntl_base,
os << " @" << *mp->http_url;
}
if (mp->status && mp->status->max_concurrency() > 0) {
os << " max_concurrency=" << mp->status->max_concurrency();
os << " max_concurrency=" << mp->status->max_concurrency();
}
}
os << '\n';
......
......@@ -482,9 +482,9 @@ static void GlobalInitializeOrDieImpl() {
policy::ProcessThriftRequest, policy::ProcessThriftResponse,
policy::VerifyThriftRequest, NULL, NULL,
CONNECTION_TYPE_POOLED_AND_SHORT, "thrift" };
if (RegisterProtocol(PROTOCOL_THRIFT, thrift_binary_protocol) != 0) {
exit(1);
}
if (RegisterProtocol(PROTOCOL_THRIFT, thrift_binary_protocol) != 0) {
exit(1);
}
#endif
// Only valid at client side
......
......@@ -392,8 +392,8 @@ void ProcessRpcRequest(InputMessageBase* msg_base) {
if (!server_accessor.AddConcurrency(cntl.get())) {
cntl->SetFailed(
ELIMIT, "Reached server's max_concurrency=%d",
static_cast<int>(server->options().max_concurrency));
ELIMIT, "Reached server's max_concurrency=%d",
static_cast<int>(server->options().max_concurrency));
break;
}
......
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