Skip to content

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

@louischausse

Description

@louischausse

Hello,

Got this 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.

MemoryStore is the default for express-session. So, everyone using this quickstart app will face this error when going in production.

The solution is here:

expressjs/session#556

But, maybe you could set it so it will be ready for production. This is not obvious how to change the default store and which one should be used. That would help a lot!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions