+ config: add cache size settings

This commit is contained in:
Simon Zolin
2019-07-23 15:57:44 +03:00
parent c2dacd32d1
commit 81303b5db7
2 changed files with 11 additions and 4 deletions

View File

@@ -205,6 +205,10 @@ func initConfig() {
// also change the default config
config.DNS.UpstreamDNS = defaultDNS
}
config.DNS.SafeBrowsingCacheSize = 64 * 1024
config.DNS.SafeSearchCacheSize = 64 * 1024
config.DNS.ParentalCacheSize = 64 * 1024
}
// getConfigFilename returns path to the current config file