Changed udpIdleTimeout to 1 second from 10 seconds

This commit is contained in:
Abhishek Shah 2015-08-03 15:32:59 -07:00
parent 6df4d6703b
commit 4bbecea4e6

View File

@ -256,7 +256,7 @@ func (proxier *Proxier) addServiceOnPort(service ServicePortName, protocol api.P
}
// How long we leave idle UDP connections open.
const udpIdleTimeout = 10 * time.Second
const udpIdleTimeout = 1 * time.Second
// OnUpdate manages the active set of service proxies.
// Active service proxies are reinitialized if found in the update set or