Set UDP timeout to 1/4 second

This commit is contained in:
Tim Hockin
2015-09-24 15:43:41 -07:00
parent c6d5c6dbbf
commit 7509bf6318

View File

@@ -346,7 +346,7 @@ func (proxier *Proxier) addServiceOnPort(service proxy.ServicePortName, protocol
} }
// How long we leave idle UDP connections open. // How long we leave idle UDP connections open.
const udpIdleTimeout = 1 * time.Second const udpIdleTimeout = 250 * time.Millisecond
// 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