mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 22:17:14 +00:00
Merge pull request #6741 from xiang90/udp_timeout
proxy: lower udp timeout
This commit is contained in:
commit
b6ec2f971e
@ -462,7 +462,7 @@ func (proxier *Proxier) addServiceOnPort(service ServicePortName, protocol api.P
|
||||
}
|
||||
|
||||
// How long we leave idle UDP connections open.
|
||||
const udpIdleTimeout = 1 * time.Minute
|
||||
const udpIdleTimeout = 10 * time.Second
|
||||
|
||||
// OnUpdate manages the active set of service proxies.
|
||||
// Active service proxies are reinitialized if found in the update set or
|
||||
|
Loading…
Reference in New Issue
Block a user