Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Expire idle matrix-side ghosts out of memory #49

Open
leonerd opened this issue May 2, 2017 · 1 comment
Open

Expire idle matrix-side ghosts out of memory #49

leonerd opened this issue May 2, 2017 · 1 comment

Comments

@leonerd
Copy link
Contributor

leonerd commented May 2, 2017

Currently, every matrix-side ghost user maintains presence state for all of time. If you don't restart the bridge for a while, this constant accumulation of users starts creating even more presence traffic in the HS.

It would help to reduce the amount of meaningless presence spam, if we start expiring these ghosts if they haven't been active for a while; maybe a day or so. The users already keep last-active timestamps, for exporting the active-users metrics, so it should be simple enough to expire based on these.

@leonerd
Copy link
Contributor Author

leonerd commented May 2, 2017

/cc @erikjohnston
This should help reduce gitter-user presence spam

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant