Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
27111e17
Commit
27111e17
authored
Aug 16, 2018
by
Ge Jun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a buggy typo
parent
cd79c8c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
thrift_protocol.cpp
src/brpc/policy/thrift_protocol.cpp
+2
-2
server.cpp
src/brpc/server.cpp
+0
-1
No files found.
src/brpc/policy/thrift_protocol.cpp
View file @
27111e17
...
...
@@ -232,8 +232,8 @@ void ThriftClosure::DoRun() {
span
->
set_start_send_us
(
butil
::
cpuwide_time_us
());
}
Socket
*
sock
=
accessor
.
get_sending_socket
();
MethodStatus
*
method_status
=
server
->
options
().
thrift_service
?
server
->
options
().
thrift_service
->
_status
:
NULL
,
MethodStatus
*
method_status
=
(
server
->
options
().
thrift_service
?
server
->
options
().
thrift_service
->
_status
:
NULL
);
ConcurrencyRemover
concurrency_remover
(
method_status
,
&
_controller
,
_received_us
);
if
(
!
method_status
)
{
// Judge errors belongings.
...
...
src/brpc/server.cpp
View file @
27111e17
...
...
@@ -273,7 +273,6 @@ void* Server::UpdateDerivedVars(void* arg) {
std
::
vector
<
SocketId
>
internal_conns
;
server
->
_nerror_bvar
.
expose_as
(
prefix
,
"error"
);
//server->_nrefused_bvar.expose_as(prefix, "refused");
bvar
::
PassiveStatus
<
timeval
>
uptime_st
(
prefix
,
"uptime"
,
GetUptime
,
(
void
*
)(
intptr_t
)
start_us
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment