Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
4b6bcf72
Commit
4b6bcf72
authored
7 years ago
by
Chelsea Holland Komlo
Browse files
Options
Download
Email Patches
Plain Diff
reset timer after updating node copy
parent
29696110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
client/client.go
+1
-0
client/client.go
with
1 addition
and
0 deletions
+1
-0
client/client.go
+
1
-
0
View file @
4b6bcf72
...
...
@@ -1558,6 +1558,7 @@ func (c *Client) watchNodeUpdates() {
c
.
retryRegisterNode
()
hasChanged
=
false
timer
.
Reset
(
c
.
retryIntv
(
nodeUpdateRetryIntv
))
case
<-
c
.
triggerNodeUpdate
:
hasChanged
=
true
case
<-
c
.
shutdownCh
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help