]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist-1.7.x: Only allocate the health-check mplexer when needed 11580/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 21 Mar 2022 09:27:30 +0000 (10:27 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 26 Apr 2022 08:07:16 +0000 (10:07 +0200)
commiteadf0f4cc585b822ca72e05605b5237897353f43
tree72e988c37e7eddd187676f4042f32ad106d89941
parentdbc3710995ea2069801ad6ee6c2dde2643df1ec2
dnsdist-1.7.x: 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.

(cherry picked from commit 017337515725264173e4d1f254bc0a19e4da6f4a)
pdns/dnsdist.cc