+ config: add cache size settings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user