Revert the cache clear
Implementing this is going to be more complicated
This commit is contained in:
parent
3c05b38edd
commit
2eac8d52d5
|
@ -89,9 +89,6 @@ func (proxy *Proxy) StartProxy() {
|
||||||
liveServers, err := proxy.serversInfo.refresh(proxy)
|
liveServers, err := proxy.serversInfo.refresh(proxy)
|
||||||
if liveServers > 0 {
|
if liveServers > 0 {
|
||||||
dlog.Noticef("dnscrypt-proxy is ready - live servers: %d", liveServers)
|
dlog.Noticef("dnscrypt-proxy is ready - live servers: %d", liveServers)
|
||||||
if !proxy.xTransport.ignoreSystemDNS {
|
|
||||||
proxy.xTransport.clearCache()
|
|
||||||
}
|
|
||||||
SystemDNotify()
|
SystemDNotify()
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
dlog.Error(err)
|
dlog.Error(err)
|
||||||
|
|
Loading…
Reference in New Issue