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

Add option to commit changes to the database automatically #53

Closed Azrenbeth closed 3 years ago

Azrenbeth commented 3 years ago

BUILDS ON azren/early_abort_negative_compression

This adds the -c option which commits the changes to the database automatically (this saves you from having to run it as a seperate command and allows easier testing)

erikjohnston commented 3 years ago

I need to have a closer look at stuff tomorrow, but at a high level looks good