diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-26 10:23:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-26 10:23:54 +0100 |
commit | d64b70ada299c58fa7d2b4ed8d83f03594cfd938 (patch) | |
tree | 71dd953794ce378ef0e911665e0c8f5f8b22b57e /docs/sample_config.yaml | |
parent | Merge pull request #6089 from matrix-org/erikj/cleanup_user_ips (diff) | |
parent | Update comments and docstring (diff) | |
download | synapse-d64b70ada299c58fa7d2b4ed8d83f03594cfd938.tar.xz |
Merge pull request #6098 from matrix-org/erikj/cleanup_user_ips_2
Prune old rows in user_ips tables.
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r-- | docs/sample_config.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index da31728037..8f801daf35 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -316,6 +316,12 @@ listeners: # redaction_retention_period: 7d +# How long to track users' last seen time and IPs in the database. +# +# Defaults to `28d`. Set to `null` to disable clearing out of old rows. +# +#user_ips_max_age: 14d + ## TLS ## |