grafana: bump influxdb LimitNOFILES
This commit is contained in:
parent
805e84f73f
commit
47e4c341d5
|
@ -61,14 +61,19 @@ in {
|
|||
}];
|
||||
};
|
||||
};
|
||||
systemd.services = builtins.foldl' (services: service:
|
||||
services // {
|
||||
"${service}".serviceConfig = {
|
||||
RestartSec = 60;
|
||||
Restart = "always";
|
||||
};
|
||||
}
|
||||
) {} restartServices;
|
||||
systemd.services =
|
||||
builtins.foldl' (services: service:
|
||||
services // {
|
||||
"${service}".serviceConfig = {
|
||||
RestartSec = 60;
|
||||
Restart = "always";
|
||||
};
|
||||
}
|
||||
) {} restartServices
|
||||
// {
|
||||
# work around our slow storage that can't keep up
|
||||
influxdb.serviceConfig.LimitNOFILES = 102400;
|
||||
};
|
||||
|
||||
# TODO: workaround for https://github.com/NixOS/nixpkgs/pull/157931
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
|
|
Loading…
Reference in New Issue