reset timer after updating node copy
This commit is contained in:
parent
a72aaaf47f
commit
355805db56
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue