Increased session duration to 1 week

This commit is contained in:
Eduard Urbach 2017-06-27 20:01:24 +02:00
parent 9bd46d1eb0
commit 9ce39df2eb

View File

@ -47,7 +47,7 @@ func configure(app *aero.Application) *aero.Application {
app.SetStyle(css.Bundle()) app.SetStyle(css.Bundle())
// Sessions // Sessions
app.Sessions.Duration = 3600 * 24 app.Sessions.Duration = 3600 * 24 * 7
app.Sessions.Store = arn.NewAerospikeStore("Session", app.Sessions.Duration) app.Sessions.Store = arn.NewAerospikeStore("Session", app.Sessions.Duration)
// Layout // Layout