caveman: don't log to disk, set more workers

This commit is contained in:
Astro 2022-11-06 13:53:33 +01:00
parent 3566f340f4
commit cbf9f7fac5

View File

@ -18,13 +18,17 @@
firewall.allowedTCPPorts = [ 80 443 ];
};
services.journald.extraConfig = ''
Storage=volatile
'';
services.caveman = {
redis.maxmemory = config.microvm.mem * 1024 * 1024 * 3 / 2;
hunter = {
enable = true;
settings = {
max_workers = config.microvm.vcpu * 2;
max_workers = 64;
hosts = with builtins;
filter isString (
split "\n" (