]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/rules: tweak how the read-only transactions work
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 14 May 2024 09:03:59 +0000 (11:03 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Tue, 2 Jul 2024 12:07:48 +0000 (14:07 +0200)
commitdfa29bfe8b6e11868c3ad5d2a4d9ecaf210f2be7
treed0ea0ba2168c161eb24a8129eb2c8e2eb95b8fdf
parentd320ecd21239786a7ef7793a0edab41c058dbcca
lib/rules: tweak how the read-only transactions work

Let's avoid reloading the RO transaction unless necessary.
For example, when normal config reload happens (one kresd at a time),
we most likely do *not* want to reload the rule DB prematurely.
daemon/lua/kres-gen-30.lua
daemon/lua/kres-gen-31.lua
daemon/lua/kres-gen-32.lua
daemon/lua/kres-gen.sh
lib/cache/api.c
lib/cache/cdb_api.h
lib/cache/cdb_lmdb.c
lib/rules/api.c
lib/rules/api.h
lib/selection.c