mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 08:56:04 -04:00
Add a ratelimiter for 3pid invite (#11892)
This commit is contained in:
parent
833247553f
commit
d80d39b035
4 changed files with 31 additions and 1 deletions
|
@ -857,6 +857,9 @@ log_config: "CONFDIR/SERVERNAME.log.config"
|
|||
# - one for ratelimiting how often a user or IP can attempt to validate a 3PID.
|
||||
# - two for ratelimiting how often invites can be sent in a room or to a
|
||||
# specific user.
|
||||
# - one for ratelimiting 3PID invites (i.e. invites sent to a third-party ID
|
||||
# such as an email address or a phone number) based on the account that's
|
||||
# sending the invite.
|
||||
#
|
||||
# The defaults are as shown below.
|
||||
#
|
||||
|
@ -906,6 +909,10 @@ log_config: "CONFDIR/SERVERNAME.log.config"
|
|||
# per_user:
|
||||
# per_second: 0.003
|
||||
# burst_count: 5
|
||||
#
|
||||
#rc_third_party_invite:
|
||||
# per_second: 0.2
|
||||
# burst_count: 10
|
||||
|
||||
# Ratelimiting settings for incoming federation
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue