Although quite a great systems, there are some issues with synapse/matrix. One of the most irritating ones is that it retains it's messages forever, resulting in an ever growing database. There is an API for purging historic events (
https://github.com/matrix-org/synapse/blob/master/docs/admin_api/purge_history_api.rst) for exactly that, unfortunately it's not so easy - you have to do this in every room on your homeserver, there's no API like "Clear all old messages in alle rooms".
There's a ruby program which just does that - unfortunately it stopped working for me, and my ruby skills are non-existent. I tried to fix the issues, and while I was able to fix some of them, it still didn't work. So I implemented it's functionality(with a few improvements) in Python. Works fine, cleared about 5 GB of old events from my database :-) However, this is the first release so there might be bugs...
#
matrix #
Synapse mnowiasz/synapse-purgepurge old room events from your homeserver. Contribute to mnowiasz/synapse-purge development by creating an account on GitHub.