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 option to disable touch #133

Closed
wants to merge 2 commits into from

Conversation

mmilleruva
Copy link

We were having significant scaling problems using express-mysql-session and were considering switching to a different express-session storage adapter. I noticed this adapter https://www.npmjs.com/package/connect-session-sequelize had a disable touch parameter. We have rolled this out in production and it reduced our session DB load by 75%. Obviously every case is unique, we have very long sessions and the session is modified and update quite frequently already so this setting made sense for us.

@chill117
Copy link
Owner

Thank you for taking the time to create a pull-request. The latest release of this module includes a new option "disableTouch" and behaves similarly as implemented by your PR here.

@chill117 chill117 closed this Mar 16, 2023
@mmilleruva
Copy link
Author

Great! Glad it was helpful

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.

2 participants