Skip to content
This repository

touch session only on save && changes detect #53

Closed
gendalf opened this Issue · 2 comments

3 participants

gendalf TJ Holowaychuk Chirag
gendalf

Hi, I use redis session for short requests and socketio long connections together on different nodes.
For my task I am reload session on sockeit clients on subscribe event from redis. But send events and reload on every rquest is bad way...

For this I must change code for detect session changes after create(first read from store), and if NO changes make by request just touch session age. And if have changes update session in store and publish message with update session id.

Will be good to add this feature ( modify detect and touch only if no changes maken )

TJ Holowaychuk
Owner

this would be a connect thing not a connect-redis thing

Chirag
Collaborator

closing as per tj's comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.