Commit e1434d48 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Don't cache results from the dns rule resolver

Result are already cached in the resolver itself thus storing them in the cache is redundant
parent 5680ebaa
Pipeline #5830 passed with stage
in 3 minutes and 21 seconds
......@@ -18,7 +18,7 @@ import java.util.*
import kotlin.collections.HashSet
import kotlin.math.abs
class DnsRuleResolver(context: Context) : LocalResolver(true) {
class DnsRuleResolver(context: Context) : LocalResolver(false) {
private val maxWhitelistCacheSize = 250
private val maxResolvedCacheSize = 500
private val maxWildcardResolvedCacheSize = 250
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment