Skip to content

[Bug]: connect.session() MemoryStore is not designed for a production environment #5542

@dkindlund

Description

@dkindlund

What happened?

When starting up v0.7.6, I see this warning in the logs:

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

Ref: https://stackoverflow.com/questions/44882535/warning-connect-session-memorystore-is-not-designed-for-a-production-environm

Steps to Reproduce

  1. Deploy librechat:latest Docker image running v0.7.6
  2. See warning appear in the logs

What browsers are you seeing the problem on?

Chrome

Relevant log output

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

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions