Remove session expiration timer
This commit is contained in:
parent
c49bbc72d4
commit
494dbc4cf5
2 changed files with 11 additions and 21 deletions
|
@ -248,7 +248,6 @@ func newStateStore(sessionStore storage.SessionStore) *stateStore {
|
|||
|
||||
for _, session := range sessions {
|
||||
if !session.Expired() {
|
||||
session.Init()
|
||||
store.sessions[session.Key()] = session
|
||||
} else {
|
||||
go sessionStore.DeleteSession(session.Key())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue