Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
deca250e
Unverified
Commit
deca250e
authored
2 years ago
by
Andrew Morgan
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add some documentation around the `rc_invites` option to the config docs (#12759)
parent
d4713d3e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/12759.doc
+1
-0
1 addition, 0 deletions
changelog.d/12759.doc
docs/usage/configuration/config_documentation.md
+14
-0
14 additions, 0 deletions
docs/usage/configuration/config_documentation.md
with
15 additions
and
0 deletions
changelog.d/12759.doc
0 → 100644
+
1
−
0
View file @
deca250e
Add information regarding the `rc_invites` ratelimiting option to the configuration docs.
This diff is collapsed.
Click to expand it.
docs/usage/configuration/config_documentation.md
+
14
−
0
View file @
deca250e
...
@@ -1357,6 +1357,20 @@ This option sets ratelimiting how often invites can be sent in a room or to a
...
@@ -1357,6 +1357,20 @@ This option sets ratelimiting how often invites can be sent in a room or to a
specific user. `per_room` defaults to `per_second
:
0.3`, `burst_count
:
10` and
specific user. `per_room` defaults to `per_second
:
0.3`, `burst_count
:
10` and
`per_user` defaults to `per_second
:
0.003`, `burst_count
:
5`.
`per_user` defaults to `per_second
:
0.003`, `burst_count
:
5`.
Client requests that invite user(s) when [creating a
room](https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3createroom)
will count against the `rc_invites.per_room` limit, whereas
client requests to [invite a single user to a
room](https://spec.matrix.org/v1.2/client-server-api/#post_matrixclientv3roomsroomidinvite)
will count against both the `rc_invites.per_user` and `rc_invites.per_room` limits.
Federation requests to invite a user will count against the `rc_invites.per_user`
limit only, as Synapse presumes ratelimiting by room will be done by the sending server.
The `rc_invites.per_user` limit applies to the *receiver* of the invite, rather than the
sender, meaning that a `rc_invite.per_user.burst_count` of 5 mandates that a single user
cannot *receive* more than a burst of 5 invites at a time.
Example configuration
:
Example configuration
:
```
yaml
```
yaml
rc_invites
:
rc_invites
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment