From: Tomas Krizek Date: Tue, 12 Mar 2019 14:47:46 +0000 (+0100) Subject: daemon/lua/trust_anchors: bootstrap TA immediately after startup X-Git-Tag: v4.0.0~15^2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=960cc1b3c7dcb9610ea36fb81e422c9df0c69da3;p=thirdparty%2Fknot-resolver.git daemon/lua/trust_anchors: bootstrap TA immediately after startup --- diff --git a/daemon/lua/meson.build b/daemon/lua/meson.build index 8909f6066..e6e4eb963 100644 --- a/daemon/lua/meson.build +++ b/daemon/lua/meson.build @@ -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')], ] diff --git a/daemon/lua/trust_anchors.lua.in b/daemon/lua/trust_anchors.lua.in index ca4d221a6..472241015 100644 --- a/daemon/lua/trust_anchors.lua.in +++ b/daemon/lua/trust_anchors.lua.in @@ -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)