]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix prefetch "trigger" value's documentation in ARM
authorAram Sargsyan <aram@isc.org>
Tue, 18 Oct 2022 13:21:01 +0000 (13:21 +0000)
committerAram Sargsyan <aram@isc.org>
Fri, 21 Oct 2022 10:22:44 +0000 (10:22 +0000)
For the prefetch "trigger" parameter ARM states that when a cache
record with a lower TTL value is encountered during query processing,
it is refreshed. But in reality, the record is refreshed when the TTL
value is lower or equal to the configured "trigger" value.

Fix the documentation to make it match with with the code.

(cherry picked from commit ef344b1f52ff531a713a26aa7fbdb7715a7aadcf)

doc/arm/reference.rst

index c1ddc0b06db5fde0679f39e9c7f4b4ba6d3e27d3..3a7669a23d7868bd27e8e2dab5ef5ebdb54cb7e6 100644 (file)
@@ -4601,7 +4601,7 @@ Tuning
 
    :any:`prefetch` specifies the "trigger" TTL value at which prefetch
    of the current query takes place; when a cache record with a
-   lower TTL value is encountered during query processing, it is
+   lower or equal TTL value is encountered during query processing, it is
    refreshed. Valid trigger TTL values are 1 to 10 seconds. Values
    larger than 10 seconds are silently reduced to 10. Setting a
    trigger TTL to zero causes prefetch to be disabled. The default