From 895786a89063e4ee457b7f2123738082b6759f13 Mon Sep 17 00:00:00 2001 From: Irine Sistiana <49315432+IrineSistiana@users.noreply.github.com> Date: Sat, 28 Oct 2023 19:44:02 +0800 Subject: [PATCH] transport: inc quic early queue to 90 --- pkg/upstream/upstream.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/upstream/upstream.go b/pkg/upstream/upstream.go index 610f7a5f1..c8dfe7a72 100644 --- a/pkg/upstream/upstream.go +++ b/pkg/upstream/upstream.go @@ -529,8 +529,9 @@ func NewUpstream(addr string, opt Opt) (_ Upstream, err error) { } return transport.NewPipelineTransport(transport.PipelineOpts{ - DialContext: dialDnsConn, - MaxConcurrentQueryWhileDialing: 32, + DialContext: dialDnsConn, + // Quic rfc recommendation is 100. Some implications use 65535. + MaxConcurrentQueryWhileDialing: 90, Logger: opt.Logger, }), nil default: