Commit 9ab32982 authored by CJ Cullen's avatar CJ Cullen

Change sshproxy to poll registry for nodes every 10 seconds (reduces window…

Change sshproxy to poll registry for nodes every 10 seconds (reduces window where closed tunnels from scaling down may exist).
parent 04cd9b3c
...@@ -854,7 +854,7 @@ func (m *Master) setupSecureProxy(user, keyfile string) { ...@@ -854,7 +854,7 @@ func (m *Master) setupSecureProxy(user, keyfile string) {
sleep = time.Second sleep = time.Second
} else { } else {
// tunnels could lag behind current set of nodes // tunnels could lag behind current set of nodes
sleep = time.Minute sleep = 10 * time.Second
} }
time.Sleep(sleep) time.Sleep(sleep)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment