matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
142 stars 32 forks source link

Prioritizing larger rooms #77

Open f0x52 opened 2 years ago

f0x52 commented 2 years ago

The synapse_auto_compressor is already a huge improvement, but it would be nice to be able to prioritize handling the largest rooms first, as from my experience those are usually the rooms with the biggest compression gains.

After processing the (x largest) rooms once in that order, the tool can be set up automatically in the current fashion, just looking at newer groups (as I understand it does?)