]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
predict docs: fix the description of expiring records
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 27 Jul 2017 11:38:03 +0000 (13:38 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 27 Jul 2017 11:49:32 +0000 (13:49 +0200)
The description didn't match the reality.  Change docs for now,
even though 1% seems a bit too little to me personally.

modules/predict/README.rst

index ac10565bb3cb4e1901c6ec9555766ae6abd584e5..bd5a8dd4868787bcf179344f320310c40b961e30 100644 (file)
@@ -3,7 +3,7 @@
 Prefetching records
 -------------------
 
-The module tracks expiring records (having less than 5% of original TTL) and batches them for predict.
+The module refreshes records that are about to expire when they're used (having less than 1% of original TTL).
 This improves latency for frequently used records, as they are fetched in advance.
 
 It is also able to learn usage patterns and repetitive queries that the server makes. For example, if
@@ -48,4 +48,4 @@ Properties
   
   Reconfigure the predictor to given tracking window and period length. Both parameters are optional.
   Window length is in minutes, period is a number of windows that can be kept in memory.
-  e.g. if a ``window`` is 15 minutes, a ``period`` of "24" means 6 hours.
\ No newline at end of file
+  e.g. if a ``window`` is 15 minutes, a ``period`` of "24" means 6 hours.