summary refs log tree commit diff
path: root/develop/usage
diff options
context:
space:
mode:
authorbabolivier <babolivier@users.noreply.github.com>2022-05-27 15:48:02 +0000
committerbabolivier <babolivier@users.noreply.github.com>2022-05-27 15:48:02 +0000
commit5c98ed443dc60bb6913d9623cd7fba7865eaf54e (patch)
tree7c4f4fd505aec98000d7e19458f232cd6dc88a83 /develop/usage
parentdeploy: 053ca5f3ca6b913d2c4bfdc7a77cb4657bc86d68 (diff)
downloadsynapse-5c98ed443dc60bb6913d9623cd7fba7865eaf54e.tar.xz
deploy: 28989cb301fecf5a669a634c09bc2b73f97fec5d
Diffstat (limited to 'develop/usage')
-rw-r--r--develop/usage/configuration/config_documentation.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/develop/usage/configuration/config_documentation.html b/develop/usage/configuration/config_documentation.html

index 8f2ea3668e..8ce9b8d33b 100644 --- a/develop/usage/configuration/config_documentation.html +++ b/develop/usage/configuration/config_documentation.html
@@ -624,6 +624,13 @@ The default value is 10.</p> <pre><code class="language-yaml">dummy_events_threshold: 5 </code></pre> <hr /> +<p>Config option <code>delete_stale_devices_after</code></p> +<p>An optional duration. If set, Synapse will run a daily background task to log out and +delete any device that hasn't been accessed for more than the specified amount of time.</p> +<p>Defaults to no duration, which means devices are never pruned.</p> +<p>Example configuration:</p> +<pre><code class="language-yaml">delete_stale_devices_after: 1y +</code></pre> <h2 id="homeserver-blocking"><a class="header" href="#homeserver-blocking">Homeserver blocking</a></h2> <p>Useful options for Synapse admins.</p> <hr />