mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 00:47:38 -06:00
session: update defaults for ConnMaxLifetime
to be the same as the 5.0.3 release defaults
This commit is contained in:
parent
1cef373d16
commit
92388f7faf
@ -128,6 +128,9 @@ cookie_secure = false
|
||||
session_life_time = 86400
|
||||
gc_interval_time = 86400
|
||||
|
||||
# Connection Max Lifetime default is 14400 (means 14400 seconds or 4 hours)
|
||||
conn_max_lifetime = 14400
|
||||
|
||||
#################################### Data proxy ###########################
|
||||
[dataproxy]
|
||||
|
||||
|
@ -636,7 +636,7 @@ func readSessionConfig() {
|
||||
SessionOptions.CookiePath = "/"
|
||||
}
|
||||
|
||||
SessionConnMaxLifetime = Cfg.Section("session").Key("conn_max_lifetime").MustInt64(0)
|
||||
SessionConnMaxLifetime = Cfg.Section("session").Key("conn_max_lifetime").MustInt64(14400)
|
||||
}
|
||||
|
||||
func initLogging() {
|
||||
|
Loading…
Reference in New Issue
Block a user