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:
parent
f786e8b3fa
commit
198e1b6a34
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue