]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document that the TCP acceptor and worker threads are merged in single accep... 12003/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 22 Sep 2022 09:46:55 +0000 (11:46 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 30 Sep 2022 14:15:45 +0000 (16:15 +0200)
pdns/dnsdistdist/docs/install.rst

index 258aabf81b00ab64e5786db6ae2fea0412d70262..91424493222198536ea2602f70ffafc1a2e59892 100644 (file)
@@ -148,5 +148,5 @@ Additionally several Lua bindings can be removed when they are not needed, as th
 * ``DISABLE_SUFFIX_MATCH_BINDINGS``
 * ``DISABLE_TOP_N_BINDINGS``
 
-Finally a build flag can be used to make use a single thread to handle all incoming UDP queries from clients, and another single thread to accept new TCP connections from clients, no matter how many :func:`addLocal` directives are present in the configuration. This option is destined to resource-constrained environments where dnsdist needs to listen on several addresses, over several interfaces, and one thread is enough to handle the traffic and therefore the overhead of using multiples threads for that task does not make sense.
+Finally a build flag can be used to make use a single thread to handle all incoming UDP queries from clients, no matter how many :func:`addLocal` directives are present in the configuration. It also moves the task of accepting incoming TCP connections to the TCP workers themselves, removing the TCP acceptor threads. This option is destined to resource-constrained environments where dnsdist needs to listen on several addresses, over several interfaces, and one thread is enough to handle the traffic and therefore the overhead of using multiples threads for that task does not make sense.
 This option can be enabled by setting ``USE_SINGLE_ACCEPTOR_THREAD``.