summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-24 15:20:40 +0100
committerErik Johnston <erik@matrix.org>2019-09-24 15:53:17 +0100
commit242017db8b7b57be28a019ecbba1619d75d54889 (patch)
tree76e97a24823989e375056344d3d003b852435b27 /docs
parentAdd has_completed_background_update (diff)
downloadsynapse-242017db8b7b57be28a019ecbba1619d75d54889.tar.xz
Prune rows in user_ips older than configured period
Defaults to pruning everything older than 28d.
Diffstat (limited to 'docs')
-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 61d9f09a99..cc6035c838 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -313,6 +313,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.
+#
+#user_ips_max_age: 14d
+
 
 ## TLS ##