Reduce DNS proxy max upstream connections default value

Reduce the default value of maximum upstream connections on the DNS
proxy to guarantee it works on single-core and other low-end hardware.
Further testing could allow for a safe increase of this value.
This commit is contained in:
dvejmz 2021-02-11 21:33:32 +00:00
parent f786e8b3fa
commit 198e1b6a34
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ const (
LogFieldAddress = "address" LogFieldAddress = "address"
LogFieldURL = "url" LogFieldURL = "url"
MaxUpstreamConnsFlag = "max-upstream-conns" MaxUpstreamConnsFlag = "max-upstream-conns"
MaxUpstreamConnsDefault = 10 MaxUpstreamConnsDefault = 5
) )
// Listener is an adapter between CoreDNS server and Warp runnable // Listener is an adapter between CoreDNS server and Warp runnable