How to disable or increase the 200 active session limit for the user presence service?

Description

In Admin > Subscription, the Active Session widget shows “X/200”, and the tooltip explains:

Total concurrent connections. A single user can be connected multiple times. User presence service is disabled at 200 or more to prevent performance issues.

Why is this limit 200? We could be running RC Community Edition on a massive server, or cluster of servers – 200 is arbitrary.

How can we increase this limit, or remove it entirely?

Server Setup Information

  • Version of Rocket.Chat Server: 6.5.2
  • Operating System: N/A
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.21.3
  • MongoDB Version: 4.4.19
  • Proxy: N/A
  • Firewalls involved: N/A

Answered in this thread.

Yes, it restricted to 200 active sessions in community version.

See you’ve taken a lot of offence to this posting the same thing in multiple places.

Be quite clear. You can build it yourself and remove that.

That is what open source means.

The source, not compiled blobs, is open.

Open source. Not free software.

Fork it, mod what you like and enjoy. Be pleased someone else spent untold hours writing it for you for free to profit from.

How do you get your daily pay?