services.grafana.settings.database.conn_max_lifetime

Sets the maximum amount of time a connection may be reused. The default is 14400 (which means 14400 seconds or 4 hours). For MySQL, this setting should be shorter than the wait_timeout variable.

Type
signed integer
Default
14400
Declared
<nixpkgs/nixos/modules/services/monitoring/grafana.nix>