Commit 27111e17 authored by Ge Jun's avatar Ge Jun

fix a buggy typo

parent cd79c8c8
...@@ -232,8 +232,8 @@ void ThriftClosure::DoRun() { ...@@ -232,8 +232,8 @@ void ThriftClosure::DoRun() {
span->set_start_send_us(butil::cpuwide_time_us()); span->set_start_send_us(butil::cpuwide_time_us());
} }
Socket* sock = accessor.get_sending_socket(); Socket* sock = accessor.get_sending_socket();
MethodStatus* method_status = server->options().thrift_service ? MethodStatus* method_status = (server->options().thrift_service ?
server->options().thrift_service->_status : NULL, server->options().thrift_service->_status : NULL);
ConcurrencyRemover concurrency_remover(method_status, &_controller, _received_us); ConcurrencyRemover concurrency_remover(method_status, &_controller, _received_us);
if (!method_status) { if (!method_status) {
// Judge errors belongings. // Judge errors belongings.
......
...@@ -273,7 +273,6 @@ void* Server::UpdateDerivedVars(void* arg) { ...@@ -273,7 +273,6 @@ void* Server::UpdateDerivedVars(void* arg) {
std::vector<SocketId> internal_conns; std::vector<SocketId> internal_conns;
server->_nerror_bvar.expose_as(prefix, "error"); server->_nerror_bvar.expose_as(prefix, "error");
//server->_nrefused_bvar.expose_as(prefix, "refused");
bvar::PassiveStatus<timeval> uptime_st( bvar::PassiveStatus<timeval> uptime_st(
prefix, "uptime", GetUptime, (void*)(intptr_t)start_us); prefix, "uptime", GetUptime, (void*)(intptr_t)start_us);
......
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