session: update defaults for ConnMaxLifetime

to be the same as the 5.0.3 release defaults
This commit is contained in:
Daniel Lee 2018-03-20 19:31:01 +01:00
parent 1cef373d16
commit 92388f7faf
2 changed files with 4 additions and 1 deletions

View File

@ -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]

View File

@ -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() {