From d642cfdeb61aceff9576de25c8012032e7115972 Mon Sep 17 00:00:00 2001 From: Thiago Alves Silva Date: Tue, 4 Sep 2018 16:10:42 -0300 Subject: [PATCH] Increase max concurrent requests for DNS from 100 to 1000 This addresses/alleviates https://github.com/docker/libnetwork/issues/2214 The new proposed limit should remediate the issue for most users. Signed-off-by: Thiago Alves Silva --- libnetwork/resolver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnetwork/resolver.go b/libnetwork/resolver.go index 04afe7a1d7..f5f89e9a1e 100644 --- a/libnetwork/resolver.go +++ b/libnetwork/resolver.go @@ -67,7 +67,7 @@ const ( maxExtDNS = 3 //max number of external servers to try extIOTimeout = 4 * time.Second defaultRespSize = 512 - maxConcurrent = 100 + maxConcurrent = 1024 logInterval = 2 * time.Second )