]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
manager: wait for 'policy-loader' to finish on the resolver startup
authorAleš Mrázek <ales.mrazek@nic.cz>
Fri, 17 May 2024 13:09:44 +0000 (15:09 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Tue, 2 Jul 2024 12:07:48 +0000 (14:07 +0200)
commitd62fe8e300c6954a9c8d53fc9a70bd2e5e58d75d
tree4e9f953d027b3759f11e97ce2aa67190fedd7f06
parent70b0e78ea7f0deb1c16b1e013bba74c801a18b66
manager: wait for 'policy-loader' to finish on the resolver startup

When starting the resolver, we wait for policy-loader until policy rules are successfully loaded into the cache where the rules are shared between kred workers. After that, other processes are started. Otherwise, the workers might start without the configured rules in the cache while they are already resolving DNS traffic.
manager/knot_resolver_manager/kres_manager.py
manager/knot_resolver_manager/kresd_controller/interface.py