Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Document rc_invites.per_issuer, added in v1.63.
Browse files Browse the repository at this point in the history
Resolves #13330.
Missed in #13125.

Signed-off-by: David Teller <davidt@element.io>
  • Loading branch information
Yoric authored and David Robertson committed Jul 21, 2022
1 parent 93740ca commit b909d53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/13333.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document the new `rc_invites.per_issuer` throttling option added in Synapse 1.63.
8 changes: 8 additions & 0 deletions docs/usage/configuration/config_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,8 @@ The `rc_invites.per_user` limit applies to the *receiver* of the invite, rather
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.

In contrast, the `rc_invites.per_issuer` limit applies to the *issuer* of the invite, meaning that a `rc_invite.per_issuer.burst_count` of 5 mandates that single user cannot *send* more than a burst of 5 invites at a time.

Example configuration:
```yaml
rc_invites:
Expand All @@ -1513,7 +1515,13 @@ rc_invites:
per_user:
per_second: 0.004
burst_count: 3
per_issuer:
per_second: 0.5
burst_count: 5
```

_Changed in version 1.63:_ added the `per_issuer` limit.

---
### `rc_third_party_invite`

Expand Down

1 comment on commit b909d53

@DMRobertson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was #13333. I applied manually to master so that it would show up in /latest docs quickly.

Please sign in to comment.