mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
reset timer after updating node copy
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user