Skip to content

Commit

Permalink
transport: inc quic early queue to 90
Browse files Browse the repository at this point in the history
  • Loading branch information
IrineSistiana committed Oct 28, 2023
1 parent 85ada12 commit 895786a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/upstream/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 895786a

Please sign in to comment.