reset timer after updating node copy

This commit is contained in:
Chelsea Holland Komlo 2018-02-27 17:18:10 -05:00
parent a72aaaf47f
commit 355805db56

View file

@ -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: