mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/fcgiwrap: limit prefork type to positives
This commit is contained in:
parent
3955eaf450
commit
289c1585c2
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ in {
|
||||||
default = { };
|
default = { };
|
||||||
type = types.attrsOf (types.submodule ({ config, ... }: { options = {
|
type = types.attrsOf (types.submodule ({ config, ... }: { options = {
|
||||||
process.prefork = mkOption {
|
process.prefork = mkOption {
|
||||||
type = types.int;
|
type = types.ints.positive;
|
||||||
default = 1;
|
default = 1;
|
||||||
description = "Number of processes to prefork.";
|
description = "Number of processes to prefork.";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue