This commit is contained in:
anoadragon453 committed 2025-01-24 19:59:24 +00:00
1 parent 922cb34bed
commit 3f42c8ba7f
4 files changed
+34 -2

No files matched your search

@@ -1767,6 +1767,22 @@ from a single server. Defaults to 3.</li>
concurrent: 5
</code></pre>
<hr />
<h3 id="rc_presence"><a class="header" href="#rc_presence"><code>rc_presence</code></a></h3>
<p>This option sets ratelimiting for presence.</p>
<p>The <code>rc_presence.per_user</code> option sets rate limits on how often a specific
users' presence updates are evaluated. Ratelimited presence updates sent via sync are
ignored, and no error is returned to the client.
This option also sets the rate limit for the
<a href="https://spec.matrix.org/latest/client-server-api/#put_matrixclientv3presenceuseridstatus"><code>PUT /_matrix/client/v3/presence/{userId}/status</code></a>
endpoint.</p>
<p><code>per_user</code> defaults to <code>per_second: 0.1</code>, <code>burst_count: 1</code>.</p>
<p>Example configuration:</p>
<pre><code class="language-yaml">rc_presence:
per_user:
per_second: 0.05
burst_count: 0.5
</code></pre>
<hr />
<h3 id="federation_rr_transactions_per_room_per_second"><a class="header" href="#federation_rr_transactions_per_room_per_second"><code>federation_rr_transactions_per_room_per_second</code></a></h3>
<p>Sets outgoing federation transaction frequency for sending read-receipts,
per-room.</p>