1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

nixos/grafana: use new default for connMaxLifetime

This commit is contained in:
WilliButz 2018-12-05 19:21:36 +01:00
parent d014e767be
commit 60eff0eecb
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2

View file

@ -169,8 +169,9 @@ in {
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.
'';
default = 14400;
type = types.int;
default = "unlimited";
example = 14400;
type = types.either types.int (types.enum [ "unlimited" ]);
};
};