Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expiration of the sessions is not restored #692

Closed
corebreaker opened this issue Jul 31, 2017 · 2 comments
Closed

Expiration of the sessions is not restored #692

corebreaker opened this issue Jul 31, 2017 · 2 comments

Comments

@corebreaker
Copy link
Contributor

I saw that there is a problem when the server restarts. For example if session timeout is set to 30 minutes in session configuration, so the session which will expire in 10 minutes, has not been cleaned after 15 minutes but after 30 minutes, this effect is visible after the server has been restarted.

The cause is the expire date is not restored. The timer task is created from configuration value (30 minutes) instead the remaining time (10 minutes) during the session loading from the database.

@kataras
Copy link
Owner

kataras commented Aug 1, 2017

Fixed with #693. @corebreaker I'll assign your name if any user report a bug about sessions, if that's right with you. Thank you for your fix!

@kataras kataras closed this as completed Aug 1, 2017
@corebreaker
Copy link
Contributor Author

No problem, that's fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants