From 233ec922f35045cb8b7ad2dc3a8f5714fe1dd721 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Sat, 11 Apr 2015 23:51:08 -0700 Subject: [PATCH] proxy: lower udp timeout --- pkg/proxy/proxier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/proxier.go b/pkg/proxy/proxier.go index d297e3392ee..b86a8f221a2 100644 --- a/pkg/proxy/proxier.go +++ b/pkg/proxy/proxier.go @@ -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