Merge pull request #6741 from xiang90/udp_timeout

proxy: lower udp timeout
This commit is contained in:
Dawn Chen 2015-04-13 08:58:02 -07:00
commit b6ec2f971e

View File

@ -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