]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
daemon/lua/trust_anchors: bootstrap TA immediately after startup
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 14:47:46 +0000 (15:47 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 4 Apr 2019 12:18:55 +0000 (14:18 +0200)
daemon/lua/meson.build
daemon/lua/trust_anchors.lua.in

index 8909f6066c9de15a95ecee2cc43e063aaa0373cf..e6e4eb96334b3699098cdd602ea1ee0ad3c7c453 100644 (file)
@@ -6,6 +6,8 @@ config_tests += [
 ]
 
 integr_tests += [
+  # NOTE: ta_rfc5011 may fail due to race condition; to ensure it passes, deckard should
+  # introduce a timeout
   ['ta_rfc5011', join_paths(meson.current_source_dir(), 'trust_anchors.test.integr')],
 ]
 
index ca4d221a610323228397b0fe929ce2a9165bbf3d..472241015a22c9777e2f255857e042e1ceaa9470 100644 (file)
@@ -579,7 +579,7 @@ local add_file = function (path, unmanaged)
        end
        -- TODO: if failed and for root, try to rebootstrap?
 
-       if not unmanaged then refresh_plan(keyset, 10 * sec, false) end
+       if not unmanaged then refresh_plan(keyset, 0 * sec, false) end
 end
 
 local function ta_str(owner)