services.grafana.settings.database.conn_max_lifetime

NixOS option

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 in: nixos/modules/services/monitoring/grafana.nixView source on NixOS/nixpkgs →