to be the same as the 5.0.3 release defaults
@@ -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() {