mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-24 21:45:21 +00:00
deploy: 444bc56cda
This commit is contained in:
@@ -5865,6 +5865,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>
|
||||
|
||||
@@ -1978,6 +1978,14 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"rc_user_directory": {
|
||||
"$ref": "#/$defs/rc",
|
||||
"description": "This option allows admins to ratelimit searches in the user directory.\n\n_Added in Synapse 1.145.0._",
|
||||
"default": {
|
||||
"per_second": 0.016,
|
||||
"burst_count": 200.0
|
||||
}
|
||||
},
|
||||
"federation_rr_transactions_per_room_per_second": {
|
||||
"type": "integer",
|
||||
"description": "Sets outgoing federation transaction frequency for sending read-receipts, per-room.\n\nIf we end up trying to send out more read-receipts, they will get buffered up into fewer transactions.",
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user