Redis for Session Manager


I’m new to node.js and In starting it up I got the error

Warning: connect.session() MemoryStore is not

designed for a production environment, as it will leak

memory, and will not scale past a single process.

I Googled these issues and see that it’s related to the session manager. I followed the install for Redis at

npm install connect-redis express-session

Then this error popped up:

{“line”:“121”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 137”,“time”:{"$date":1551036420253},“level”:“info”}

Problem for me is I don’t know where to make the code additions/changes that it says on that link. What file contains the config where I’d make this change?