Pull request 1913: parental-cache-size
Squashed commit of the following: commit 6e7dcf0c59c478869e65cb6945d8d262b9eb1879 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Mon Jul 10 19:44:49 2023 +0300 home: fix parental cache size
This commit is contained in:
parent
c02a14117d
commit
61ed743748
|
@ -66,6 +66,7 @@ In this release, the schema version has changed from 23 to 24.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Incorrect setting of Parental Control cache size.
|
||||||
- Excessive RAM and CPU consumption by Safe Browsing and Parental Control
|
- Excessive RAM and CPU consumption by Safe Browsing and Parental Control
|
||||||
filters ([#5896]).
|
filters ([#5896]).
|
||||||
|
|
||||||
|
|
|
@ -470,7 +470,7 @@ func setupDNSFilteringConf(conf *filtering.Config) (err error) {
|
||||||
ServiceName: pcService,
|
ServiceName: pcService,
|
||||||
TXTSuffix: pcTXTSuffix,
|
TXTSuffix: pcTXTSuffix,
|
||||||
CacheTime: cacheTime,
|
CacheTime: cacheTime,
|
||||||
CacheSize: conf.SafeBrowsingCacheSize,
|
CacheSize: conf.ParentalCacheSize,
|
||||||
})
|
})
|
||||||
|
|
||||||
conf.SafeSearchConf.CustomResolver = safeSearchResolver{}
|
conf.SafeSearchConf.CustomResolver = safeSearchResolver{}
|
||||||
|
|
Loading…
Reference in New Issue