From: Peter van Dijk Date: Sat, 9 Mar 2019 00:30:44 +0000 (+0100) Subject: dnsdist docs: fix formatting and one typo X-Git-Tag: auth-4.2.0-rc1~13^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F7554%2Fhead;p=thirdparty%2Fpdns.git dnsdist docs: fix formatting and one typo --- 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::