1
0
This commit is contained in:
sandhose
2025-07-01 15:44:11 +00:00
parent 1105c725fb
commit c934a13198
6 changed files with 73 additions and 7 deletions

View File

@@ -1873,7 +1873,7 @@ v1.61.0.</p>
<tr><td>v1.85.0 v1.91.2</td><td>v1.83.0</td></tr>
<tr><td>v1.92.0 v1.97.0</td><td>v1.90.0</td></tr>
<tr><td>v1.98.0 v1.105.0</td><td>v1.96.0</td></tr>
<tr><td>v1.105.1 v1.132.0</td><td>v1.100.0</td></tr>
<tr><td>v1.105.1 v1.133.0</td><td>v1.100.0</td></tr>
</tbody></table>
<h2 id="upgrading-from-a-very-old-version"><a class="header" href="#upgrading-from-a-very-old-version">Upgrading from a very old version</a></h2>
<p>You need to read all of the upgrade notes for each version between your current
@@ -4542,7 +4542,7 @@ shown.</p>
<p><code>default_user_type</code> (string|null): The default user type to use for registering new users when no value has been specified. Defaults to none. Defaults to <code>null</code>.</p>
</li>
<li>
<p><code>extra_user_types</code> (list): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
<p><code>extra_user_types</code> (array): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
</li>
</ul>
<p>Example configuration:</p>
@@ -5571,6 +5571,31 @@ shown.</p>
burst_count: 20.0
</code></pre>
<hr />
<h3 id="rc_reports"><a class="header" href="#rc_reports"><code>rc_reports</code></a></h3>
<p><em>(object)</em> Ratelimiting settings for reporting content.
This is a ratelimiting option that ratelimits reports made by users about content they see.
Setting this to a high value allows users to report content quickly, possibly in duplicate. This can result in higher database usage.</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_reports:
per_user:
per_second: 1.0
burst_count: 5.0
</code></pre>
<p>Example configuration:</p>
<pre><code class="language-yaml">rc_reports:
per_second: 2.0
burst_count: 20.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>

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://element-hq.github.io/synapse/latest/schema/v1/meta.schema.json",
"$id": "https://element-hq.github.io/synapse/schema/synapse/v1.132/synapse-config.schema.json",
"$id": "https://element-hq.github.io/synapse/schema/synapse/v1.133/synapse-config.schema.json",
"type": "object",
"properties": {
"modules": {
@@ -1883,6 +1883,22 @@
}
]
},
"rc_reports": {
"$ref": "#/$defs/rc",
"description": "Ratelimiting settings for reporting content.\nThis is a ratelimiting option that ratelimits reports made by users about content they see.\nSetting this to a high value allows users to report content quickly, possibly in duplicate. This can result in higher database usage.",
"default": {
"per_user": {
"per_second": 1.0,
"burst_count": 5.0
}
},
"examples": [
{
"per_second": 2.0,
"burst_count": 20.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

View File

@@ -267,7 +267,7 @@ v1.61.0.</p>
<tr><td>v1.85.0 v1.91.2</td><td>v1.83.0</td></tr>
<tr><td>v1.92.0 v1.97.0</td><td>v1.90.0</td></tr>
<tr><td>v1.98.0 v1.105.0</td><td>v1.96.0</td></tr>
<tr><td>v1.105.1 v1.132.0</td><td>v1.100.0</td></tr>
<tr><td>v1.105.1 v1.133.0</td><td>v1.100.0</td></tr>
</tbody></table>
<h2 id="upgrading-from-a-very-old-version"><a class="header" href="#upgrading-from-a-very-old-version">Upgrading from a very old version</a></h2>
<p>You need to read all of the upgrade notes for each version between your current

View File

@@ -822,7 +822,7 @@ shown.</p>
<p><code>default_user_type</code> (string|null): The default user type to use for registering new users when no value has been specified. Defaults to none. Defaults to <code>null</code>.</p>
</li>
<li>
<p><code>extra_user_types</code> (list): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
<p><code>extra_user_types</code> (array): Array of additional user types to allow. These are treated as real users. Defaults to <code>[]</code>.</p>
</li>
</ul>
<p>Example configuration:</p>
@@ -1851,6 +1851,31 @@ shown.</p>
burst_count: 20.0
</code></pre>
<hr />
<h3 id="rc_reports"><a class="header" href="#rc_reports"><code>rc_reports</code></a></h3>
<p><em>(object)</em> Ratelimiting settings for reporting content.
This is a ratelimiting option that ratelimits reports made by users about content they see.
Setting this to a high value allows users to report content quickly, possibly in duplicate. This can result in higher database usage.</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_reports:
per_user:
per_second: 1.0
burst_count: 5.0
</code></pre>
<p>Example configuration:</p>
<pre><code class="language-yaml">rc_reports:
per_second: 2.0
burst_count: 20.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>