mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
proxy: lower udp timeout
This commit is contained in:
parent
d577db9987
commit
233ec922f3
@ -456,7 +456,7 @@ func (proxier *Proxier) addServiceOnPort(service ServicePortName, protocol api.P
|
|||||||
}
|
}
|
||||||
|
|
||||||
// How long we leave idle UDP connections open.
|
// 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.
|
// OnUpdate manages the active set of service proxies.
|
||||||
// Active service proxies are reinitialized if found in the update set or
|
// Active service proxies are reinitialized if found in the update set or
|
||||||
|
Loading…
Reference in New Issue
Block a user