diff options
author | WilliButz <wbutz@cyberfnord.de> | 2018-12-05 19:21:36 +0100 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2018-12-05 20:49:45 +0100 |
commit | 60eff0eecb308e4a38c4db76e20f0f49fd7f2715 (patch) | |
tree | 067d9e721a9765dbbcba086486fa0df47f5f51d5 /nixos/modules/services/monitoring/grafana.nix | |
parent | d014e767be9960faad5deb2353542d6174d09ff1 (diff) | |
download | nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.tar nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.tar.gz nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.tar.bz2 nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.tar.lz nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.tar.xz nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.tar.zst nixpkgs-60eff0eecb308e4a38c4db76e20f0f49fd7f2715.zip |
nixos/grafana: use new default for connMaxLifetime
Diffstat (limited to 'nixos/modules/services/monitoring/grafana.nix')
-rw-r--r-- | nixos/modules/services/monitoring/grafana.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index c0c16a429d8..5fb3e377122 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -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" ]); }; }; |