This commit is contained in:
MadLittleMods
2026-01-05 19:37:14 +00:00
parent 062683a4c7
commit df295f6ce3
5 changed files with 46 additions and 2 deletions
@@ -1944,6 +1944,24 @@ Setting this to a high value allows users to report content quickly, possibly in
burst_count: 5.0
</code></pre>
<hr />
<h3 id="rc_user_directory"><a class="header" href="#rc_user_directory"><code>rc_user_directory</code></a></h3>
<p><em>(object)</em> This option allows admins to ratelimit searches in the user directory.</p>
<p><em>Added in Synapse 1.145.0.</em></p>
<p>This setting has the following sub-options:</p>
<ul>
<li>
<p><code>per_second</code> (number): Maximum number of requests a client can send per second.</p>
</li>
<li>
<p><code>burst_count</code> (number): Maximum number of requests a client can send before being throttled.</p>
</li>
</ul>
<p>Default configuration:</p>
<pre><code class="language-yaml">rc_user_directory:
per_second: 0.016
burst_count: 200.0
</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><em>(integer)</em> Sets outgoing federation transaction frequency for sending read-receipts, per-room.</p>
<p>If we end up trying to send out more read-receipts, they will get buffered up into fewer transactions.</p>