all: conf custom ups cache

This commit is contained in:
Dimitry Kolyshev 2023-11-10 14:31:26 +02:00
parent b7f6581901
commit 84160eafee
2 changed files with 0 additions and 2 deletions

View File

@ -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) {

View File

@ -471,7 +471,6 @@ func (clients *clientsContainer) cachingUpstreamsConfig(
c.UpstreamsCacheEnabled,
int(c.UpstreamsCacheSize),
config.DNS.EDNSClientSubnet.Enabled,
config.DNS.CacheOptimistic,
)
c.upstreamConfig = conf