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

Add logout method #82

Merged
merged 1 commit into from
Dec 25, 2018
Merged

Conversation

baurmatt
Copy link
Contributor

This PR implements support for the logout method. This should be always used to destroy the users session as it would otherwise pile up in the servers sessions table.

I would have also written a test but I'm not quite sure how it could look like :(

@roadrunner2
Copy link

We've been running into issues because there were 10's of thousands of sessions in the table, and this patch has solved that for us. So we're eager to see this get merged.

@jrbeilke
Copy link
Collaborator

LGTM

@gdubicki gdubicki merged commit e528b07 into express42:master Dec 25, 2018
@gdubicki
Copy link
Contributor

Thanks @baurmatt !

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

Successfully merging this pull request may close these issues.

4 participants