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
fc5b4abf
Commit
fc5b4abf
authored
Sep 09, 2018
by
TousakaRin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge code from upstream
parent
18f29e33
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
controller.h
src/brpc/controller.h
+0
-6
No files found.
src/brpc/controller.h
View file @
fc5b4abf
...
@@ -602,16 +602,10 @@ private:
...
@@ -602,16 +602,10 @@ private:
void
set_used_by_rpc
()
{
add_flag
(
FLAGS_USED_BY_RPC
);
}
void
set_used_by_rpc
()
{
add_flag
(
FLAGS_USED_BY_RPC
);
}
bool
is_used_by_rpc
()
const
{
return
has_flag
(
FLAGS_USED_BY_RPC
);
}
bool
is_used_by_rpc
()
const
{
return
has_flag
(
FLAGS_USED_BY_RPC
);
}
<<<<<<<
HEAD
=======
// Get sock option. .e.g get vip info through ttm kernel module hook,
int
GetSockOption
(
int
level
,
int
optname
,
void
*
optval
,
socklen_t
*
optlen
);
bool
has_enabled_circuit_breaker
()
const
{
bool
has_enabled_circuit_breaker
()
const
{
return
has_flag
(
FLAGS_ENABLED_CIRCUIT_BREAKER
);
return
has_flag
(
FLAGS_ENABLED_CIRCUIT_BREAKER
);
}
}
>>>>>>>
Replace
_enable_circuit_breaker
with
FALGS_ENABLED_CIRCUIT_BREAKER
private
:
private
:
// NOTE: align and group fields to make Controller as compact as possible.
// NOTE: align and group fields to make Controller as compact as possible.
...
...
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