DOC: config: restore default values for resolvers hold directive
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 30 Apr 2025 14:56:00 +0000 (16:56 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 May 2025 16:13:10 +0000 (18:13 +0200)
Default values for hold directive (resolver context) used to be documented
but this was lost when the keyword description was reworked in 24b319b
("Default value is 10s for "valid", 0s for "obsolete" and 30s for
others.")

Restoring the part that describes the default value.

It may be backported to all stable versions with 24b319b

(cherry picked from commit 4bceca83fc14269ef8f2528294bc3cdb3fcc6c99)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 67226e170dfa18e377d6ef223ffb292a5d8ddc9e)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>

doc/configuration.txt

index bde3838..c63f1b3 100644 (file)
@@ -18587,6 +18587,8 @@ hold <status> <period>
 
   A separate behavior exists for "hold valid" and "hold obsolete".
 
+  Default value is 10s for "valid", 0s for "obsolete" and 30s for others.
+
 resolve_retries <nb>
   Defines the number <nb> of queries to send to resolve a server name before
   giving up.