Increased session duration to 1 week
This commit is contained in:
parent
9bd46d1eb0
commit
9ce39df2eb
2
main.go
2
main.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user