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";
|
admin_contact = "mailto:lotte@chir.rs";
|
||||||
retention = {
|
retention = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
default_policy = {
|
||||||
|
max_lifetime = "12w";
|
||||||
|
};
|
||||||
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 = {
|
database = {
|
||||||
name = "psycopg2";
|
name = "psycopg2";
|
||||||
|
|
Loading…
Reference in a new issue