]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/rules: increase default DB size to 2G on 64-bit platforms docs-develop-impr-ktrcol/deployments/3562
authorVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 22 Mar 2024 10:56:30 +0000 (11:56 +0100)
committerOto Šťáva <oto.stava@nic.cz>
Fri, 22 Mar 2024 13:16:47 +0000 (14:16 +0100)
commitd36161f5f486eb4c119ffdaa7a39c7612743ff92
treeac3cc71f25f5e73a6faaa5987f42ec4c3f3d4dc8
parentb49ef99875a8a8e2d6345c5adb83df6d73e184d5
lib/rules: increase default DB size to 2G on 64-bit platforms

The file is sparse, which really is supported by all sane filesystems
nowadays I think.  But for 32-bit systems I'm a bit afraid for the
ability to reliably get such a large contiguous mapping in process memory,
so there we take the 500M limit tested in knot-dns:
https://gitlab.nic.cz/knot/knot-dns/-/blob/v3.3.5/src/knot/conf/schema.c#L39
NEWS
lib/rules/api.c