mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 05:46:16 +00:00
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:
parent
04cd9b3c75
commit
9ab329827a
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user