Merge pull request #56 from DarkKirb/fix-synapse-purging
Set up purge jobs for matrix
This commit is contained in:
commit
cd26928800
1 changed files with 14 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue