From 5e55b5c60bb73a4228c4e2522ea1ce6a0468b824 Mon Sep 17 00:00:00 2001 From: Charles-Henri Bruyand Date: Wed, 9 May 2018 17:08:06 +0200 Subject: [PATCH] rec: call maintenance() callback on every thread --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 000fc9960..a11b45c66 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -3556,7 +3556,7 @@ try last_carbon = g_now.tv_sec; } } - if(!t_id && (g_now.tv_sec - last_lua_maintenance >= luaMaintenanceInterval)) { + if(g_now.tv_sec - last_lua_maintenance >= luaMaintenanceInterval) { t_pdl->maintenance(); last_lua_maintenance = g_now.tv_sec; } -- 2.40.0