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
38e5d864
Unverified
Commit
38e5d864
authored
Sep 27, 2018
by
Ge Jun
Committed by
GitHub
Sep 27, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #509 from TousakaRin/circuit_breaker
Reduce the execution time of brpc_circuit_unittest
parents
6b53cac1
653fd033
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
brpc_circuit_breaker_unittest.cpp
test/brpc_circuit_breaker_unittest.cpp
+1
-1
No files found.
test/brpc_circuit_breaker_unittest.cpp
View file @
38e5d864
...
...
@@ -23,7 +23,7 @@ const int kLongWindowSize = 1000;
const
int
kShortWindowErrorPercent
=
10
;
const
int
kLongWindowErrorPercent
=
5
;
const
int
kMinIsolationDurationMs
=
100
;
const
int
kMaxIsolationDurationMs
=
30
000
;
const
int
kMaxIsolationDurationMs
=
1
000
;
const
int
kErrorCodeForFailed
=
131
;
const
int
kErrorCodeForSucc
=
0
;
const
int
kErrorCost
=
1000
;
...
...
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