Merge pull request #56 from DarkKirb/fix-synapse-purging

Set up purge jobs for matrix
This commit is contained in:
Charlotte 🦝 Delenk 2022-11-21 15:59:41 +01:00 committed by GitHub
commit cd26928800
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,21 @@
admin_contact = "mailto:lotte@chir.rs";
retention = {
enabled = true;
default_policy = {
max_lifetime = "12w";
};
max_lifetime = "12w";
allowed_lifetime_max = "12w";
purge_jobs = [
{
longest_max_lifetime = "3d";
interval = "12h";
}
{
shortest_max_lifetime = "3d";
interval = "1d";
}
];
};
database = {
name = "psycopg2";