Skip to content

Commit ee612c5

Browse files
authored
Merge branch 'develop' into devon/clean-shutdown
2 parents 699923a + d1c96ee commit ee612c5

3 files changed

Lines changed: 9 additions & 12 deletions

File tree

changelog.d/18998.doc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix documentation for `rc_room_creation` and `rc_reports` to clarify that a `per_user` rate limit is not supported.

docs/usage/configuration/config_documentation.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,9 +2006,8 @@ This setting has the following sub-options:
20062006
Default configuration:
20072007
```yaml
20082008
rc_reports:
2009-
per_user:
2010-
per_second: 1.0
2011-
burst_count: 5.0
2009+
per_second: 1.0
2010+
burst_count: 5.0
20122011
```
20132012

20142013
Example configuration:
@@ -2031,9 +2030,8 @@ This setting has the following sub-options:
20312030
Default configuration:
20322031
```yaml
20332032
rc_room_creation:
2034-
per_user:
2035-
per_second: 0.016
2036-
burst_count: 10.0
2033+
per_second: 0.016
2034+
burst_count: 10.0
20372035
```
20382036

20392037
Example configuration:

schema/synapse-config.schema.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,9 +2259,8 @@ properties:
22592259
Setting this to a high value allows users to report content quickly, possibly in
22602260
duplicate. This can result in higher database usage.
22612261
default:
2262-
per_user:
2263-
per_second: 1.0
2264-
burst_count: 5.0
2262+
per_second: 1.0
2263+
burst_count: 5.0
22652264
examples:
22662265
- per_second: 2.0
22672266
burst_count: 20.0
@@ -2270,9 +2269,8 @@ properties:
22702269
description: >-
22712270
Sets rate limits for how often users are able to create rooms.
22722271
default:
2273-
per_user:
2274-
per_second: 0.016
2275-
burst_count: 10.0
2272+
per_second: 0.016
2273+
burst_count: 10.0
22762274
examples:
22772275
- per_second: 1.0
22782276
burst_count: 5.0

0 commit comments

Comments
 (0)