Skip to content

Warning: connect.session() MemoryStore is not designed for a production environment #556

Description

@dennisat

Hi ExpressJs

I have a NodeJs app, where on production I am getting this message.

Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process.

After some debugging, I found out that this is coming from you.
In precise, from here

How can we fix this? What should we do to do not have any memory leaks?

Thank you in advance.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions