From 9ab329827a1424482358d72b1a83424ee19fb83b Mon Sep 17 00:00:00 2001 From: CJ Cullen Date: Fri, 5 Jun 2015 15:24:17 -0700 Subject: [PATCH] Change sshproxy to poll registry for nodes every 10 seconds (reduces window where closed tunnels from scaling down may exist). --- pkg/master/master.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/master/master.go b/pkg/master/master.go index dc9c282e717..925b7129fc7 100644 --- a/pkg/master/master.go +++ b/pkg/master/master.go @@ -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) }