reset timer after updating node copy

This commit is contained in:
Chelsea Holland Komlo
2018-02-27 17:18:10 -05:00
parent 29696110b2
commit 4b6bcf7293

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: