all: conf custom ups cache
This commit is contained in:
parent
b7f6581901
commit
84160eafee
|
@ -678,7 +678,6 @@ func TestServerCustomClientUpstream(t *testing.T) {
|
|||
true,
|
||||
defaultCacheSize,
|
||||
forwardConf.EDNSClientSubnet.Enabled,
|
||||
forwardConf.CacheOptimistic,
|
||||
)
|
||||
|
||||
s.conf.GetCustomUpstreamByClient = func(_ string) (_ *proxy.CustomUpstreamConfig, err error) {
|
||||
|
|
|
@ -471,7 +471,6 @@ func (clients *clientsContainer) cachingUpstreamsConfig(
|
|||
c.UpstreamsCacheEnabled,
|
||||
int(c.UpstreamsCacheSize),
|
||||
config.DNS.EDNSClientSubnet.Enabled,
|
||||
config.DNS.CacheOptimistic,
|
||||
)
|
||||
c.upstreamConfig = conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue