diff --git a/CHANGELOG.md b/CHANGELOG.md index 83342942..493d4a76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,6 +66,7 @@ In this release, the schema version has changed from 23 to 24. ### Fixed +- Incorrect setting of Parental Control cache size. - Excessive RAM and CPU consumption by Safe Browsing and Parental Control filters ([#5896]). diff --git a/internal/home/home.go b/internal/home/home.go index c8f218ec..bdc0f86c 100644 --- a/internal/home/home.go +++ b/internal/home/home.go @@ -470,7 +470,7 @@ func setupDNSFilteringConf(conf *filtering.Config) (err error) { ServiceName: pcService, TXTSuffix: pcTXTSuffix, CacheTime: cacheTime, - CacheSize: conf.SafeBrowsingCacheSize, + CacheSize: conf.ParentalCacheSize, }) conf.SafeSearchConf.CustomResolver = safeSearchResolver{}