]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
rrcache/predict: tweak *when* an RR is expiring expiring 495/head
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 27 Jul 2017 12:22:17 +0000 (14:22 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 27 Jul 2017 12:29:14 +0000 (14:29 +0200)
commit28ab28b991c05c6f5e11d1d8ec81e0085b2356db
treee904289b24971be46e12a647171801712a9910a1
parentd5c165e076932e2502060d52fc375ee1738da6c0
rrcache/predict: tweak *when* an RR is expiring

1% TTL is just too little when used for refreshing.
Even 50% would mean doing at most double work than necessary,
so let's have this compromise of ~7% TTL.
lib/layer/rrcache.c
modules/predict/README.rst