summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-26 10:23:54 +0100
committerGitHub <noreply@github.com>2019-09-26 10:23:54 +0100
commitd64b70ada299c58fa7d2b4ed8d83f03594cfd938 (patch)
tree71dd953794ce378ef0e911665e0c8f5f8b22b57e /docs/sample_config.yaml
parentMerge pull request #6089 from matrix-org/erikj/cleanup_user_ips (diff)
parentUpdate comments and docstring (diff)
downloadsynapse-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.yaml6
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 ##