Skip to content

Commit

Permalink
session: update lifetime to 1 month
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhan005 committed Oct 15, 2024
1 parent 8763962 commit fab2c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func New() *flamego.Flame {
Password: conf.Redis.Password,
DB: 1,
},
Lifetime: 7 * 24 * time.Hour,
Lifetime: 30 * 24 * time.Hour,
}
}
sessioner := session.Sessioner(session.Options{
Expand Down

0 comments on commit fab2c83

Please sign in to comment.