From: Remi Gacogne Date: Thu, 1 Sep 2022 12:22:30 +0000 (+0200) Subject: dnsdist: Deprecated setRingBuffersLockRetries() X-Git-Tag: rec-4.8.0-alpha1~38^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11883%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Deprecated setRingBuffersLockRetries() --- diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index eb9117b8a5..82cf84142b 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -503,6 +503,9 @@ Ringbuffers .. function:: setRingBuffersLockRetries(num) + .. deprecated:: 1.8.0 + Deprecated in 1.8.0 in favor of :func:`setRingBuffersOptions` which provides more options. + 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 is more than one shard, 0 otherwise.