فهرست منبع

Merge pull request #2262 from trilogy-group/increase-dns-max-concurrent

Increase max concurrent requests for DNS from 100 to 1024
Flavio Crisciani 6 سال پیش
والد
کامیت
7c3d556f8b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      libnetwork/resolver.go

+ 1 - 1
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
 )