proxy: lower udp timeout

This commit is contained in:
Xiang Li 2015-04-11 23:51:08 -07:00
parent d577db9987
commit 233ec922f3

View File

@ -456,7 +456,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