From baf2550199da2fdae444b6745e44007c6bd8b050 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Sat, 9 Mar 2019 01:30:44 +0100 Subject: [PATCH] dnsdist docs: fix formatting and one typo --- pdns/dnsdistdist/docs/reference/config.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index 64711abad3..62604d792d 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -284,13 +284,15 @@ Ringbuffers ~~~~~~~~~~~ .. function:: setRingBuffersLockRetries(num) + .. versionadded:: 1.3.0 Set the number of shards to attempt to lock without blocking before giving up and simply blocking while waiting for the next shard to be available - :param int num: The maximum number of attempts. Defaults to 5 if there are more than one shard, 0 otherwise. + :param int num: The maximum number of attempts. Defaults to 5 if there is more than one shard, 0 otherwise. .. function:: setRingBuffersSize(num [, numberOfShards]) + .. versionchanged:: 1.3.0 ``numberOfShards`` optional parameter added. @@ -306,13 +308,10 @@ Servers newServer(server_table) .. versionchanged:: 1.3.0 - - Added ``checkClass`` to server_table. - - Added ``sockets`` to server_table - - Added ``checkFunction`` to server_table + Added ``checkClass``, ``sockets`` and ``checkFunction`` to server_table. .. versionchanged:: 1.3.4 - - Added ``checkTimeout`` to server_table - - Added ``rise`` to server_table. + Added ``checkTimeout`` and ``rise`` to server_table. Add a new backend server. Call this function with either a string:: -- 2.47.2