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 number of chunk on process of synapse_auto_compressor #98

Open rubo77 opened 2 years ago

rubo77 commented 2 years ago

It would be helpful to see the progress of synapse_auto_compressor when you run with a large -n option, e.g.

INFO  synapse_auto_compressor::manager] [1 of 10000] Running compressor on room !xyz:matrix.org with chunk size 500
INFO  synapse_auto_compressor::manager] [2 of 10000] Running compressor on room !abc:matrix.de with chunk size 500
...