Skip to content

Address use of connect.session() MemoryStore #10714

@saplla

Description

@saplla

Description:

Upon starting Rocket Chat, a warning is printed to the console:

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

This should be addressed or at least provied a link to documentation for how to remove it for a production deployment.

Server Setup Information:

  • Version of Rocket.Chat Server: rocketchat/rocket.chat:0.64.1
  • Operating System: linux
  • Deployment Method(snap/docker/tar/etc): docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • Node Version:
  • mongoDB Version:

Steps to Reproduce:

  1. node main.js
  2. Read console

Expected behavior:

Not to see this error or be shown how to make it production-ready

Actual behavior:

Relevant logs:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions