From 188f907b26afba374fd2c685652dbd1bd5b0059e Mon Sep 17 00:00:00 2001 From: Jan Hilberath Date: Wed, 25 Mar 2020 14:55:37 +0900 Subject: [PATCH] Fix layout in the dnsdist Caching Responses guide --- pdns/dnsdistdist/docs/guides/cache.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/guides/cache.rst b/pdns/dnsdistdist/docs/guides/cache.rst index 167c1503e1..0217ca6057 100644 --- a/pdns/dnsdistdist/docs/guides/cache.rst +++ b/pdns/dnsdistdist/docs/guides/cache.rst @@ -8,7 +8,7 @@ The first step is to define a cache with :func:`newPacketCache`, then to assign pc = newPacketCache(10000, {maxTTL=86400, minTTL=0, temporaryFailureTTL=60, staleTTL=60, dontAge=false}) getPool(""):setCache(pc) - + The first parameter (10000) is the maximum number of entries stored in the cache, and is the only one required. All the other parameters are optional and in seconds, except the last one which is a boolean. ++ The first parameter (10000) is the maximum number of entries stored in the cache, and is the only one required. All the other parameters are optional and in seconds, except the last one which is a boolean. + The second one (86400) is the maximum lifetime of an entry in the cache. -- 2.47.2