sceox
0607550b6d
Invoke jq
with -r
flag instead of using sed to remove double quotes
2022-12-26 12:16:20 -08:00
sceox
009ef80bbf
Abort if token or database file not readable and no TTY
2022-12-26 12:09:55 -08:00
sceox
1b890db29f
Add a FIXME to only purge rooms if they are large
2022-12-26 12:07:14 -08:00
sceox
9120483e6c
Switch to using the synapse auto compressor
2022-12-26 12:06:32 -08:00
sceox
5e47e872bb
Create a main
function and call it
2022-12-26 11:32:14 -08:00
sceox
25e5cccd84
Update default path of database config file
2022-12-26 11:25:05 -08:00
sceox
14372aab58
pull the database name from the homeserver config file
2022-03-07 13:18:19 -08:00
sceox
97bb9b2c5f
set a higher query size limit when querying all rooms
...
By default, the synapse admin API limits the rooms query to 100 results. This
was causing the purges to apply to ~5% of rooms on our server. Now we set a
higher limit for the room query.
2022-03-07 12:37:52 -08:00
sceox
5609ccf6a6
synapse-purge-compress.sh: be less verbose
2021-10-09 11:10:57 -07:00
sceox
9f918ba30c
refactor synapse purge and compress to run non-interactively
2021-10-09 11:04:48 -07:00
sceox
7b6253e11e
use tabs not spaces in Makefile
2021-07-05 11:18:29 -07:00
sceox
cd23c39201
initial commit
2021-07-05 11:15:48 -07:00