From 4bb520a5d1cba7565aaeb5d91caa5e33a273190f 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 --- resolver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolver.go b/resolver.go index 04afe7a1d7..f5f89e9a1e 100644 --- a/resolver.go +++ b/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 )