Remove session expiration timer

This commit is contained in:
Ken-Håvard Lieng 2018-06-01 05:59:13 +02:00
parent c49bbc72d4
commit 494dbc4cf5
2 changed files with 11 additions and 21 deletions

View file

@ -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())