Change sshproxy to poll registry for nodes every 10 seconds (reduces window where closed tunnels from scaling down may exist).

This commit is contained in:
CJ Cullen 2015-06-05 15:24:17 -07:00
parent 04cd9b3c75
commit 9ab329827a

View File

@ -854,7 +854,7 @@ func (m *Master) setupSecureProxy(user, keyfile string) {
sleep = time.Second
} else {
// tunnels could lag behind current set of nodes
sleep = time.Minute
sleep = 10 * time.Second
}
time.Sleep(sleep)
}