mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 00:10:30 +00:00
nixos/grafana: use new default for connMaxLifetime
This commit is contained in:
parent
d014e767be
commit
60eff0eecb
|
@ -169,8 +169,9 @@ in {
|
||||||
Sets the maximum amount of time (in seconds) a connection may be reused.
|
Sets the maximum amount of time (in seconds) a connection may be reused.
|
||||||
For MySQL this setting should be shorter than the `wait_timeout' variable.
|
For MySQL this setting should be shorter than the `wait_timeout' variable.
|
||||||
'';
|
'';
|
||||||
default = 14400;
|
default = "unlimited";
|
||||||
type = types.int;
|
example = 14400;
|
||||||
|
type = types.either types.int (types.enum [ "unlimited" ]);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue