Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
cc782249
Commit
cc782249
authored
Dec 9, 2020
by
李志信
Browse files
Options
Downloads
Patches
Plain Diff
fmt file
parent
52e508e1
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
cluster/router/healthcheck/default_health_check.go
+1
-2
1 addition, 2 deletions
cluster/router/healthcheck/default_health_check.go
common/constant/key.go
+0
-1
0 additions, 1 deletion
common/constant/key.go
registry/zookeeper/registry.go
+1
-1
1 addition, 1 deletion
registry/zookeeper/registry.go
with
2 additions
and
4 deletions
cluster/router/healthcheck/default_health_check.go
+
1
−
2
View file @
cc782249
...
@@ -96,7 +96,6 @@ func (c *DefaultHealthChecker) getCircuitBreakerSleepWindowTime(status *protocol
...
@@ -96,7 +96,6 @@ func (c *DefaultHealthChecker) getCircuitBreakerSleepWindowTime(status *protocol
return
int64
(
sleepWindow
)
return
int64
(
sleepWindow
)
}
}
// GetRequestSuccessiveFailureThreshold return the requestSuccessiveFailureThreshold bound to this DefaultHealthChecker
// GetRequestSuccessiveFailureThreshold return the requestSuccessiveFailureThreshold bound to this DefaultHealthChecker
func
(
c
*
DefaultHealthChecker
)
GetRequestSuccessiveFailureThreshold
()
int32
{
func
(
c
*
DefaultHealthChecker
)
GetRequestSuccessiveFailureThreshold
()
int32
{
return
c
.
requestSuccessiveFailureThreshold
return
c
.
requestSuccessiveFailureThreshold
...
...
This diff is collapsed.
Click to expand it.
common/constant/key.go
+
0
−
1
View file @
cc782249
...
@@ -90,7 +90,6 @@ const (
...
@@ -90,7 +90,6 @@ const (
RETRY_TIMES_KEY
=
"retry.times"
RETRY_TIMES_KEY
=
"retry.times"
CYCLE_REPORT_KEY
=
"cycle.report"
CYCLE_REPORT_KEY
=
"cycle.report"
DEFAULT_BLACK_LIST_RECOVER_BLOCK
=
10
DEFAULT_BLACK_LIST_RECOVER_BLOCK
=
10
)
)
const
(
const
(
...
...
This diff is collapsed.
Click to expand it.
registry/zookeeper/registry.go
+
1
−
1
View file @
cc782249
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment