]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Wrong task was used 11397/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Mar 2022 14:10:51 +0000 (15:10 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 7 Mar 2022 14:10:51 +0000 (15:10 +0100)
pdns/recursordist/rec-main.cc

index db31fde54a025f201333d787763e925cec75bbf7..cd1116d75f0338bed9aeb42ef8ca49a0bb4ad121 100644 (file)
@@ -1874,7 +1874,7 @@ static void houseKeeping(void*)
     });
 
     static thread_local PeriodicTask pruneTCPTask{"pruneTCPTask", 5};
-    pruneThrottledTask.runIfDue(now, [now]() {
+    pruneTCPTask.runIfDue(now, [now]() {
       t_tcp_manager.cleanup(now);
     });