Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
22a7f0099
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
22a7f0099
Commits
6508dd07
Commit
6508dd07
authored
4 years ago
by
zengfanwei
Browse files
Options
Downloads
Patches
Plain Diff
优化代码
parent
56f978d1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/reference_config.go
+0
-1
0 additions, 1 deletion
config/reference_config.go
remoting/zookeeper/facade.go
+1
-1
1 addition, 1 deletion
remoting/zookeeper/facade.go
with
1 addition
and
2 deletions
config/reference_config.go
+
0
−
1
View file @
6508dd07
...
@@ -274,5 +274,4 @@ func (c *ReferenceConfig) postProcessConfig(url *common.URL) {
...
@@ -274,5 +274,4 @@ func (c *ReferenceConfig) postProcessConfig(url *common.URL) {
for
_
,
p
:=
range
extension
.
GetConfigPostProcessors
()
{
for
_
,
p
:=
range
extension
.
GetConfigPostProcessors
()
{
p
.
PostProcessReferenceConfig
(
url
)
p
.
PostProcessReferenceConfig
(
url
)
}
}
}
}
This diff is collapsed.
Click to expand it.
remoting/zookeeper/facade.go
+
1
−
1
View file @
6508dd07
...
@@ -82,7 +82,7 @@ LOOP:
...
@@ -82,7 +82,7 @@ LOOP:
break
break
}
}
failTimes
++
failTimes
++
logger
.
Warnf
(
"ZK reconnect fail times
%d
"
,
failTimes
)
logger
.
Warnf
(
"ZK reconnect fail
ed %d
times"
,
failTimes
)
if
MaxFailTimes
<=
failTimes
{
if
MaxFailTimes
<=
failTimes
{
failTimes
=
MaxFailTimes
failTimes
=
MaxFailTimes
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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