]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Only allocate the health-check mplexer when needed 11437/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Mar 2022 09:27:30 +0000 (10:27 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Mar 2022 09:27:30 +0000 (10:27 +0100)
commit017337515725264173e4d1f254bc0a19e4da6f4a
treed8fe9ea611d736ea732f6dae5e06d1822f07302d
parent36423a13948102b551365524f2e4a1f850989876
dnsdist: Only allocate the health-check mplexer when needed

When health-checking is disabled, or when a check delay longer than one
second is used, there is no need to allocate a new multiplexer object
every second.
pdns/dnsdist.cc